Force another rebuild

Unfortunately, yesterday Nix got reverted to a version with broken
passAsFile implementation on some Hydra machines, so we have corrupted
files again. (E.g. http://hydra.nixos.org/build/29777678.) Forcing
another gratuitous rebuild to get rid of them.

(cherry picked from commit 75974d9220)
This commit is contained in:
Eelco Dolstra 2015-12-31 22:14:44 +01:00
parent e4b4e9b986
commit 64bc8a84a4

View File

@ -28,11 +28,13 @@ rec {
'' ''
n=$out${destination} n=$out${destination}
mkdir -p "$(dirname "$n")" mkdir -p "$(dirname "$n")"
if [ -e "$textPath" ]; then if [ -e "$textPath" ]; then
mv "$textPath" "$n" mv "$textPath" "$n"
else else
echo -n "$text" > "$n" echo -n "$text" > "$n"
fi fi
(test -n "$executable" && chmod +x "$n") || true (test -n "$executable" && chmod +x "$n") || true
''; '';