Add currently failing test for #81

This commit is contained in:
Eelco Dolstra 2019-05-09 13:55:33 +02:00
parent cead210e66
commit a746dc64d2
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -110,6 +110,10 @@ nix build -o $TEST_ROOT/result --flake-registry $registry $flake2:bar
[[ -e $flake2/flake.lock ]]
git -C $flake2 commit flake.lock -m 'Add flake.lock'
# Rerunning the build should not change the lockfile.
nix build -o $TEST_ROOT/result --flake-registry $registry $flake2:bar
[[ -z $(git -C $flake2 diff) ]]
# Now we should be able to build the flake in pure mode.
nix build -o $TEST_ROOT/result --flake-registry $registry flake2:bar