diff options
author | nikstur <nikstur@outlook.com> | 2023-10-31 18:42:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-31 18:42:06 +0100 |
commit | 37209a6799ff29fdb96c7b6d587f06c4bdc87dda (patch) | |
tree | 1b9830b3e33ef7b696dc2440be5b1ef093d589df /nixos/tests | |
parent | 0a1051cba784efc392695736399c17e51e687e44 (diff) | |
parent | 8c1739cafe62ebf2d60d83241ccab871a14ee14c (diff) | |
download | nixpkgs-37209a6799ff29fdb96c7b6d587f06c4bdc87dda.tar nixpkgs-37209a6799ff29fdb96c7b6d587f06c4bdc87dda.tar.gz nixpkgs-37209a6799ff29fdb96c7b6d587f06c4bdc87dda.tar.bz2 nixpkgs-37209a6799ff29fdb96c7b6d587f06c4bdc87dda.tar.lz nixpkgs-37209a6799ff29fdb96c7b6d587f06c4bdc87dda.tar.xz nixpkgs-37209a6799ff29fdb96c7b6d587f06c4bdc87dda.tar.zst nixpkgs-37209a6799ff29fdb96c7b6d587f06c4bdc87dda.zip |
Merge pull request #264608 from nikstur/nix-channel-fix-default
nixos/nix-channel: fix subscribing to default channel
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/activation/nix-channel.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nixos/tests/activation/nix-channel.nix b/nixos/tests/activation/nix-channel.nix index 8416ff0347a..a01a66ebc1b 100644 --- a/nixos/tests/activation/nix-channel.nix +++ b/nixos/tests/activation/nix-channel.nix @@ -10,7 +10,8 @@ nix.channel.enable = true; }; - testScript = '' - print(machine.succeed("cat /root/.nix-channels")) + testScript = { nodes, ... }: '' + assert machine.succeed("cat /root/.nix-channels") == "${nodes.machine.system.defaultChannel} nixos\n" ''; + } |