From 69b9ea3527b42bef96b1a7d22534f09d9ba0b114 Mon Sep 17 00:00:00 2001 From: xecarlox94 Date: Mon, 2 Jun 2025 00:11:59 +0100 Subject: [PATCH] finishing automated setup --- nix/templates/haskell/flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/templates/haskell/flake.nix b/nix/templates/haskell/flake.nix index 8e2f16b..504e798 100644 --- a/nix/templates/haskell/flake.nix +++ b/nix/templates/haskell/flake.nix @@ -28,7 +28,7 @@ devShells.default = pkgs.haskellPackages.shellFor { packages = p: [ - (p.callPackage ./shell.nix { }) + (p.callPackage ./cabal.nix { }) ]; buildInputs = with pkgs; [ @@ -39,9 +39,9 @@ ]; # TODO: add cabal2nix shell command + # cabal2nix . --shell > ./shell.nix shellHook = '' cabal2nix . > ./cabal.nix - cabal2nix . --shell > ./shell.nix ''; }; }