From 38c679ce4deba4080ecb3e5534360fdfb8e2e7fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amy=20de=20Buitl=C3=A9ir?= Date: Sat, 11 Oct 2025 16:57:07 +0100 Subject: [PATCH] temp --- source/recipes/devshell/haskell-pkg/tempwork/Main.hs | 6 ++++++ .../devshell/{nixpkg => haskell-pkg}/tempwork/flake.lock | 0 .../devshell/{nixpkg => haskell-pkg}/tempwork/flake.nix | 3 ++- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 source/recipes/devshell/haskell-pkg/tempwork/Main.hs rename source/recipes/devshell/{nixpkg => haskell-pkg}/tempwork/flake.lock (100%) rename source/recipes/devshell/{nixpkg => haskell-pkg}/tempwork/flake.nix (75%) 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 ]; }; }; }