mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 16:23:02 +00:00
06b4424286
* Fix GC and substitute bugs related to self-references. Add a regression test.
10 lines
168 B
Bash
10 lines
168 B
Bash
export PATH=/bin:/usr/bin:$PATH
|
|
|
|
mkdir $out
|
|
echo $(cat $input1/foo)$(cat $input2/bar) > $out/foobar
|
|
|
|
ln -s $input2 $out/input-2
|
|
|
|
# Self-reference.
|
|
ln -s $out $out/self
|