From 64bc8a84a4c93d7a4732e7aff87a2d804893cc44 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. (cherry picked from commit 75974d9220b8397c736ada76fb24eb934fa62f6c) --- 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 1350e36940b..13ed5b3e996 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 '';