From 406b867dfe422f2ad1ce6dc4beac2d14afcc5d9f Mon Sep 17 00:00:00 2001 From: Rowan Torbitzky-Lane Date: Tue, 25 Feb 2025 13:40:38 -0600 Subject: [PATCH] put shellHook in mkShell call --- flake.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index 019f27c..0bd23c6 100644 --- a/flake.nix +++ b/flake.nix @@ -10,9 +10,7 @@ { devShells."${system}" = let - pkgs = import nixpkgs { - inherit system; - }; + pkgs = nixpkgs.legacyPackages."${system}"; in pkgs.mkShellNoCC { packages = with pkgs; [ @@ -31,10 +29,10 @@ ]; }) ]; + shellHook = '' + echo "starting codium" + codium . + ''; }; - shellHook = '' - echo "starting codium" - codium . - ''; }; }