mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-02-06 10:26:48 +02:00
![regnat](/assets/img/avatar_default.png)
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"
|