From 60c2c8eefebbfeea6a0dff589cf5ffef607a3888 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Thu, 12 Jun 2008 08:37:07 +0000 Subject: [PATCH] Fixed patching shebang to be builder-defs style (startNest will be added on its own) svn path=/nixpkgs/trunk/; revision=12049 --- pkgs/top-level/builder-defs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/builder-defs.nix b/pkgs/top-level/builder-defs.nix index f59f916575a8..837ca0c0f8b7 100644 --- a/pkgs/top-level/builder-defs.nix +++ b/pkgs/top-level/builder-defs.nix @@ -491,7 +491,7 @@ args: with args; with stringsWithDeps; with lib; # specified directory tree to paths found in $PATH. E.g., # /bin/sh will be rewritten to /nix/store/-some-bash/bin/sh. # Interpreters that are already in the store are left untouched. - header "patching script interpreter paths" + echo "patching script interpreter paths" local f for f in $(find "${dir}" -type f -perm +0100); do local oldPath=$(sed -ne '1 s,^#![ ]*\([^ ]*\).*$,\1,p' "$f")