mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-30 01:26:15 +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…
Reference in a new issue