mirror of
https://github.com/NixOS/nix.git
synced 2024-10-31 06:10:59 +00: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.
7 lines
133 B
Bash
7 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
|