Skip to content

Commit

Permalink
feat(tests): test packagesFrom with a null in buildInputs
Browse files Browse the repository at this point in the history
  • Loading branch information
deemp committed Apr 18, 2024
1 parent cbd803c commit 6dee0dd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/core/devshell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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" { } ''
Expand All @@ -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
Expand Down

0 comments on commit 6dee0dd

Please sign in to comment.