diff --git a/source/recipes/devshell/haskell-pkg/tempwork/Main.hs b/source/recipes/devshell/haskell-pkg/tempwork/Main.hs new file mode 100644 index 0000000..4fe2929 --- /dev/null +++ b/source/recipes/devshell/haskell-pkg/tempwork/Main.hs @@ -0,0 +1,6 @@ +import Data.List.Extra + +main :: IO () +main = do + print $ lower "ABCDE" + print $ upper "XYZ" diff --git a/source/recipes/devshell/nixpkg/tempwork/flake.lock b/source/recipes/devshell/haskell-pkg/tempwork/flake.lock similarity index 100% rename from source/recipes/devshell/nixpkg/tempwork/flake.lock rename to source/recipes/devshell/haskell-pkg/tempwork/flake.lock diff --git a/source/recipes/devshell/nixpkg/tempwork/flake.nix b/source/recipes/devshell/haskell-pkg/tempwork/flake.nix similarity index 75% rename from source/recipes/devshell/nixpkg/tempwork/flake.nix rename to source/recipes/devshell/haskell-pkg/tempwork/flake.nix index 83db46c..5eb2141 100644 --- a/source/recipes/devshell/nixpkg/tempwork/flake.nix +++ b/source/recipes/devshell/haskell-pkg/tempwork/flake.nix @@ -8,11 +8,12 @@ flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; + customGhc = pkgs.haskellPackages.ghcWithPackages (p: with p; [ p.extra ]); in { devShells = rec { default = pkgs.mkShell { - packages = [ pkgs.cowsay ]; + buildInputs = [ customGhc ]; }; }; }