forked from lix-project/lix
Add currently failing test for #81
This commit is contained in:
parent
cead210e66
commit
a746dc64d2
|
@ -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…
Reference in a new issue