mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +02:00
* Add missing files to dist.
* Fix GC and substitute bugs related to self-references. Add a regression test.
This commit is contained in:
parent
32fa82a56a
commit
06b4424286
4 changed files with 14 additions and 5 deletions
|
@ -39,7 +39,7 @@ gc-concurrent.sh: gc-concurrent.nix gc-concurrent2.nix
|
|||
TESTS = init.sh hash.sh lang.sh simple.sh dependencies.sh locking.sh parallel.sh \
|
||||
build-hook.sh substitutes.sh substitutes2.sh fallback.sh nix-push.sh gc.sh \
|
||||
gc-concurrent.sh verify.sh nix-pull.sh
|
||||
#TESTS = init.sh gc-concurrent.sh
|
||||
#TESTS = init.sh nix-push.sh nix-pull.sh
|
||||
|
||||
XFAIL_TESTS =
|
||||
|
||||
|
@ -57,5 +57,6 @@ EXTRA_DIST = $(TESTS) \
|
|||
substitutes.nix.in substituter.sh \
|
||||
substitutes2.nix.in substituter2.sh \
|
||||
gc-concurrent.nix.in gc-concurrent.builder.sh \
|
||||
gc-concurrent2.nix.in gc-concurrent2.builder.sh \
|
||||
fallback.nix.in \
|
||||
$(wildcard lang/*.nix) $(wildcard lang/*.exp)
|
||||
|
|
|
@ -3,4 +3,7 @@ export PATH=/bin:/usr/bin:$PATH
|
|||
mkdir $out
|
||||
echo $(cat $input1/foo)$(cat $input2/bar) > $out/foobar
|
||||
|
||||
ln -s $input2 $out/input-2
|
||||
ln -s $input2 $out/input-2
|
||||
|
||||
# Self-reference.
|
||||
ln -s $out $out/self
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue