mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
455a7b9577
derivations that produce the same output path don't work properly wrt locking. This happens a lot in the build farm when fetchurl derivations downloading the same file on different platforms are executed in parallel and then copied back to the main machine.
6 lines
133 B
Bash
6 lines
133 B
Bash
echo dummy: $dummy
|
|
if test -n "$dummy"; then sleep 2; fi
|
|
mkdir $out
|
|
mkdir $out/bla
|
|
echo "Hello World!" > $out/foo
|
|
ln -s foo $out/bar
|