From 75974d9220b8397c736ada76fb24eb934fa62f6c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 31 Dec 2015 22:14:44 +0100 Subject: [PATCH] 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. --- pkgs/build-support/trivial-builders.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/build-support/trivial-builders.nix b/pkgs/build-support/trivial-builders.nix index 9203425b20ae..b02604ecb84f 100644 --- a/pkgs/build-support/trivial-builders.nix +++ b/pkgs/build-support/trivial-builders.nix @@ -28,11 +28,13 @@ rec { '' n=$out${destination} mkdir -p "$(dirname "$n")" + if [ -e "$textPath" ]; then mv "$textPath" "$n" else echo -n "$text" > "$n" fi + (test -n "$executable" && chmod +x "$n") || true '';