diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2017-12-13 23:05:46 +0100 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2017-12-13 23:05:46 +0100 |
| commit | fa8b71bdf6bf96cf121cde9ed367a93ff0371420 (patch) | |
| tree | f4bc8b17804dbc59c4c4a88c37445f7dafb48f61 /tests | |
| parent | ba7202e789ed87b4913028bae0a9de03156292c4 (diff) | |
add test for environment.shells
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/system-shells.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/system-shells.nix b/tests/system-shells.nix new file mode 100644 index 0000000..61708ff --- /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 + ''; +} |
