mirror of
https://github.com/NixOS/nix
synced 2024-09-20 11:11:03 -04:00
Use a fifo pipe to handle the synchronisation between the different threads rather than relying on delays
6 lines
152 B
Bash
6 lines
152 B
Bash
mkdir $out
|
|
echo $(cat $input1/foo)$(cat $input2/bar)xyzzy > $out/foobar
|
|
|
|
# Check that the GC hasn't deleted the lock on our output.
|
|
test -e "$out.lock"
|