mirror of
https://github.com/NixOS/nix.git
synced 2025-02-19 18:32:36 +00:00

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
|