From a6663338a40dfee3b650ca01ec09944b4b0fd3f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amy=20de=20Buitl=C3=A9ir?= Date: Sat, 6 Sep 2025 18:26:33 +0100 Subject: [PATCH] temp --- .../devshell/{haskell-pkg => env-var}/tempwork/flake.lock | 0 .../devshell/{haskell-pkg => env-var}/tempwork/flake.nix | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) rename source/recipes/devshell/{haskell-pkg => env-var}/tempwork/flake.lock (100%) rename source/recipes/devshell/{haskell-pkg => env-var}/tempwork/flake.nix (75%) diff --git a/source/recipes/devshell/haskell-pkg/tempwork/flake.lock b/source/recipes/devshell/env-var/tempwork/flake.lock similarity index 100% rename from source/recipes/devshell/haskell-pkg/tempwork/flake.lock rename to source/recipes/devshell/env-var/tempwork/flake.lock diff --git a/source/recipes/devshell/haskell-pkg/tempwork/flake.nix b/source/recipes/devshell/env-var/tempwork/flake.nix similarity index 75% rename from source/recipes/devshell/haskell-pkg/tempwork/flake.nix rename to source/recipes/devshell/env-var/tempwork/flake.nix index da098df..7d462f8 100644 --- a/source/recipes/devshell/haskell-pkg/tempwork/flake.nix +++ b/source/recipes/devshell/env-var/tempwork/flake.nix @@ -8,12 +8,13 @@ flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; - customGhc = pkgs.haskellPackages.ghcWithPackages (p: with p; [ containers ]); in { devShells = rec { default = pkgs.mkShell { - buildInputs = [ customGhc ]; + shellHook = '' + export FOO="bar" + ''; }; }; }