diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-02-23 13:51:34 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-02-23 13:51:34 +0000 |
commit | 52c286ee5b3b8f5c521b17411782311a313f2e4c (patch) | |
tree | 948b519d8517d88cd81124703e5b4f35daf25019 /pkgs/test | |
parent | 390b789c3950307a9dc6bb57d2f5f0ae69cfc76b (diff) | |
parent | 129b6f78121802d18d215c9f9e04d7971c58ea0c (diff) |
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts: pkgs/development/libraries/pmdk/default.nix
Diffstat (limited to 'pkgs/test')
-rw-r--r-- | pkgs/test/stdenv/default.nix | 2 | ||||
-rw-r--r-- | pkgs/test/stdenv/hooks.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/test/stdenv/default.nix b/pkgs/test/stdenv/default.nix index bad6eb7ba7aa3..c7bb07f625ed6 100644 --- a/pkgs/test/stdenv/default.nix +++ b/pkgs/test/stdenv/default.nix @@ -113,7 +113,7 @@ in # Assumption: the first output* variable to be configured is # _overrideFirst outputDev "dev" "out" - expectedMsg = "_assignFirst: could not find a non-empty variable to assign to outputDev. The following variables were all unset or empty: dev out."; + expectedMsg = "error: _assignFirst: could not find a non-empty variable to assign to outputDev.\n The following variables were all unset or empty:\n dev out"; } '' grep -F "$expectedMsg" $result/testBuildFailure.log >/dev/null touch $out diff --git a/pkgs/test/stdenv/hooks.nix b/pkgs/test/stdenv/hooks.nix index 3d72efae6c479..d7c409e621562 100644 --- a/pkgs/test/stdenv/hooks.nix +++ b/pkgs/test/stdenv/hooks.nix @@ -115,7 +115,7 @@ name = "test-reproducible-builds"; buildCommand = '' # can't be tested more precisely because the value of random-seed changes depending on the output - [[ $NIX_CFLAGS_COMPILE =~ "-frandom-seed=" ]] + [[ $env.NIX_CFLAGS_COMPILE =~ "-frandom-seed=" ]] touch $out ''; }; |