From dac2e5181aa2b518e53b28bf041e62638298c4ac Mon Sep 17 00:00:00 2001 From: Dmitry Zuikov Date: Fri, 5 Jul 2024 06:52:27 +0300 Subject: [PATCH] wip --- Makefile | 1 + cabal.project | 2 +- flake.nix | 1 + hbs2-cli/app/Main.hs | 8 +++++++- hbs2-cli/hbs2-cli.cabal | 12 ++---------- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 6b2a9cfc..2d6b3bc7 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,7 @@ BINS := \ hbs2-git-dashboard \ git-remote-hbs2 \ git-hbs2 \ + hbs2-cli \ fixme-new \ hbs2-storage-simple-benchmarks \ diff --git a/cabal.project b/cabal.project index 7702064f..83818f3c 100644 --- a/cabal.project +++ b/cabal.project @@ -3,7 +3,7 @@ packages: **/*.cabal allow-newer: all -constraints: pandoc ==3.1.11, suckless-conf >= 0.1.2.6 +constraints: pandoc >=3.1.11, suckless-conf >= 0.1.2.6 -- executable-static: True diff --git a/flake.nix b/flake.nix index b2948891..25d8410e 100644 --- a/flake.nix +++ b/flake.nix @@ -72,6 +72,7 @@ outputs = { self, nixpkgs, haskell-flake-utils, ... }@inputs: "hbs2-share" = "./hbs2-share"; "hbs2-git" = "./hbs2-git"; "hbs2-fixer" = "./hbs2-fixer"; + "hbs2-cli" = "./hbs2-cli"; "fixme-new" = "./fixme-new"; }; diff --git a/hbs2-cli/app/Main.hs b/hbs2-cli/app/Main.hs index 87a433cc..eec137a2 100644 --- a/hbs2-cli/app/Main.hs +++ b/hbs2-cli/app/Main.hs @@ -1 +1,7 @@ -module Main where \ No newline at end of file +module Main where + + +main :: IO () +main = do + print "yay!" + diff --git a/hbs2-cli/hbs2-cli.cabal b/hbs2-cli/hbs2-cli.cabal index 6bff05ee..bcba3eb2 100644 --- a/hbs2-cli/hbs2-cli.cabal +++ b/hbs2-cli/hbs2-cli.cabal @@ -1,5 +1,5 @@ cabal-version: 3.0 -name: hbs2-git +name: hbs2-cli version: 0.24.1.2 -- synopsis: -- description: @@ -99,10 +99,6 @@ library HBS2.CLI build-depends: base - , text - , suckless-conf - , unix - , unliftio hs-source-dirs: lib @@ -113,11 +109,7 @@ executable hbs2-cli -- other-modules: -- other-extensions: build-depends: - base - , suckless-conf - , text - , hbs2-cli - , unliftio + base, hbs2-cli hs-source-dirs: app default-language: GHC2021