mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-02-24 03:07:18 +02:00

Use a fifo pipe to handle the synchronisation between the different threads rather than relying on delays
5 lines
152 B
Bash
5 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"
|