From 63e5663b2e6a68310faf8a0630bce8b53c6af18b Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Fri, 31 Oct 2008 12:24:28 +0000 Subject: [PATCH] Not failing if not doing chmod +x svn path=/nixpkgs/trunk/; revision=13167 --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 73f79bee4695..a9495961d698 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -444,7 +444,7 @@ let n=$out${destination} mkdir -p "$(dirname "$n")" echo -n "$text" > "$n" - test -n "$executable" && chmod +x "$n" + (test -n "$executable" && chmod +x "$n") || true ''; # Shorthands for `writeTextFile'.