From 48741bce6ed1edf77ee550cee8ea230b0cd51d32 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Fri, 31 Oct 2008 04:58:03 +0000 Subject: [PATCH] Fixing a typo in writeTextFile svn path=/nixpkgs/trunk/; revision=13166 --- pkgs/top-level/all-packages.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dd1e69de09e..73f79bee469 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" - [ -n "$executable"] && chmod +x "$n" + test -n "$executable" && chmod +x "$n" ''; # Shorthands for `writeTextFile'. @@ -6212,7 +6212,7 @@ let inherit fetchurl stdenv perl bison mktemp kernel; }; - klibcShrunk = import ../os-specific/linux/klibc/shrunk.nix { + klibcShrunk = composedArgsAndFun (import ../os-specific/linux/klibc/shrunk.nix) { inherit stdenv klibc; };