diff --git a/release.nix b/release.nix index 8c61fcd1..af1f5069 100644 --- a/release.nix +++ b/release.nix @@ -97,6 +97,7 @@ let tests.system-path-bash = makeTest ./tests/system-path-bash.nix; tests.system-path-fish = makeTest ./tests/system-path-fish.nix; tests.system-path-zsh = makeTest ./tests/system-path-zsh.nix; + tests.system-shells = makeTest ./tests/system-shells.nix; } // (mapTestOn (packagePlatforms packageSet)); diff --git a/tests/system-shells.nix b/tests/system-shells.nix new file mode 100644 index 00000000..61708ffd --- /dev/null +++ b/tests/system-shells.nix @@ -0,0 +1,10 @@ +{ config, pkgs, ... }: + +{ + environment.shells = [ pkgs.zsh ]; + + test = '' + echo checking zsh in /etc/shells >&2 + grep '/run/current-system/sw/bin/zsh' ${config.out}/etc/shells + ''; +}