mirror of
https://github.com/NixOS/nix
synced 2025-07-07 10:11:47 +02:00
Add currently failing test for #81
This commit is contained in:
parent
cead210e66
commit
a746dc64d2
1 changed files with 4 additions and 0 deletions
|
@ -110,6 +110,10 @@ nix build -o $TEST_ROOT/result --flake-registry $registry $flake2:bar
|
||||||
[[ -e $flake2/flake.lock ]]
|
[[ -e $flake2/flake.lock ]]
|
||||||
git -C $flake2 commit flake.lock -m 'Add 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.
|
# Now we should be able to build the flake in pure mode.
|
||||||
nix build -o $TEST_ROOT/result --flake-registry $registry flake2:bar
|
nix build -o $TEST_ROOT/result --flake-registry $registry flake2:bar
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue