mirror of
https://github.com/NixOS/nix.git
synced 2025-02-19 18:32:36 +00: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"
|