aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/populate/tests/builder.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/populate/tests/builder.nix')
-rw-r--r--pkgs/populate/tests/builder.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/populate/tests/builder.nix b/pkgs/populate/tests/builder.nix
index 26a360b..91609a9 100644
--- a/pkgs/populate/tests/builder.nix
+++ b/pkgs/populate/tests/builder.nix
@@ -143,7 +143,10 @@ let
null
else {
populate = toString (command sources targetPath);
- inherit env interrupt output unexpected;
+ inherit env interrupt output;
+ # Nix warns about not writing lock files whenever populate looks
+ # at a flake, which populate leaves out.
+ unexpected = unexpected ++ [ "not writing modified lock file" ];
expect = if expect' == "success" then null else expect'.fail;
status = if expect' == "success" then null else expect'.status or null;
# No phase gets around checking the canaries.