Fixing a typo in writeTextFile

svn path=/nixpkgs/trunk/; revision=13166
This commit is contained in:
Michael Raskin 2008-10-31 04:58:03 +00:00
parent 87b3af6a8c
commit 48741bce6e

View File

@ -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;
};