diff --git a/tests/core/devshell.nix b/tests/core/devshell.nix index 4756253..67e352c 100644 --- a/tests/core/devshell.nix +++ b/tests/core/devshell.nix @@ -6,6 +6,9 @@ shell = devshell.mkShell { devshell.name = "devshell-1"; devshell.packages = [ pkgs.git ]; + devshell.packagesFrom = [ + (pkgs.hello.overrideAttrs { buildInputs = [ null pkgs.cowsay ]; }) + ]; }; in runTest "devshell-1" { } '' @@ -20,6 +23,9 @@ # Adds packages to the PATH type -p git + + # Adds packages from packagesFrom to the PATH + type -p cowsay ''; # Only load profiles