diff --git a/flake.nix b/flake.nix index b08b38d..7e698ba 100644 --- a/flake.nix +++ b/flake.nix @@ -71,6 +71,11 @@ bindings = bindingsOverlay; }; + templates = { + hs-bindings = ./nix/templates/haskell; + description = "Haskell Bindings to p2prc protocol"; + }; + } )); } diff --git a/nix/templates/haskell/flake.nix b/nix/templates/haskell/flake.nix index 5055e4c..2ba7f0c 100644 --- a/nix/templates/haskell/flake.nix +++ b/nix/templates/haskell/flake.nix @@ -73,11 +73,11 @@ }; in { + packages = { default = pkgs.haskellPackages.callPackage ./cabal.nix { }; }; - devShells.default = pkgs.haskellPackages.shellFor { packages = p: [ @@ -94,7 +94,7 @@ # TODO: add cabal2nix shell command shellHook = '' - cabal2nix . > ./cabal.nix + # cabal2nix . > ./cabal.nix ''; }; }