diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2021-12-03 17:50:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-03 17:50:27 +0000 |
commit | 99c916dd8eef8e63a54defe1eab0b821add4392f (patch) | |
tree | f854fa8a97f9aada14cd195deb69b9e386917bf4 /nixos/tests | |
parent | 2df15ba83d0510a56f2583fd3481723835acb5a1 (diff) | |
parent | d87d5731d5bcd495d7a4087949b0fbec4841b972 (diff) | |
download | nixpkgs-99c916dd8eef8e63a54defe1eab0b821add4392f.tar nixpkgs-99c916dd8eef8e63a54defe1eab0b821add4392f.tar.gz nixpkgs-99c916dd8eef8e63a54defe1eab0b821add4392f.tar.bz2 nixpkgs-99c916dd8eef8e63a54defe1eab0b821add4392f.tar.lz nixpkgs-99c916dd8eef8e63a54defe1eab0b821add4392f.tar.xz nixpkgs-99c916dd8eef8e63a54defe1eab0b821add4392f.tar.zst nixpkgs-99c916dd8eef8e63a54defe1eab0b821add4392f.zip |
Merge pull request #148201 from Artturin/nixservesecret
nix-serve: fix NIX_SECRET_KEY_FILE
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/all-tests.nix | 4 | ||||
-rw-r--r-- | nixos/tests/nix-serve-ssh.nix (renamed from nixos/tests/nix-ssh-serve.nix) | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 6677e9d093b..1ff1b8d5864 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -315,8 +315,8 @@ in nginx-sso = handleTest ./nginx-sso.nix {}; nginx-variants = handleTest ./nginx-variants.nix {}; nitter = handleTest ./nitter.nix {}; - nix-serve = handleTest ./nix-ssh-serve.nix {}; - nix-ssh-serve = handleTest ./nix-ssh-serve.nix {}; + nix-serve = handleTest ./nix-serve.nix {}; + nix-serve-ssh = handleTest ./nix-serve-ssh.nix {}; nixops = handleTest ./nixops/default.nix {}; nixos-generate-config = handleTest ./nixos-generate-config.nix {}; node-red = handleTest ./node-red.nix {}; diff --git a/nixos/tests/nix-ssh-serve.nix b/nixos/tests/nix-serve-ssh.nix index 03f83542c7c..1eb8d5b395b 100644 --- a/nixos/tests/nix-ssh-serve.nix +++ b/nixos/tests/nix-serve-ssh.nix @@ -35,7 +35,7 @@ in client.fail("diff /root/other-store$(cat mach-id-path) /etc/machine-id") # Currently due to shared store this is a noop :( - client.succeed("nix copy --to ssh-ng://nix-ssh@server $(cat mach-id-path)") + client.succeed("nix copy --experimental-features 'nix-command' --to ssh-ng://nix-ssh@server $(cat mach-id-path)") client.succeed( "nix-store --realise $(cat mach-id-path) --store /root/other-store --substituters ssh-ng://nix-ssh@server" ) |