From db8288bf5bd3c9241a2adf578c0c5ff90f561ac5 Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Wed, 2 Aug 2006 11:05:04 +0000 Subject: [PATCH] only nuke references to glibc in the statically linked binaries, not the references to perl, nix, and so on in the scripts. TODO: statically link the bzip2/bunzip2/etc. tools in $nix/libexec svn path=/nixpkgs/trunk/; revision=6018 --- pkgs/misc/nix-static/builder.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/misc/nix-static/builder.sh b/pkgs/misc/nix-static/builder.sh index 2d0b46267c7..940e8b828e9 100644 --- a/pkgs/misc/nix-static/builder.sh +++ b/pkgs/misc/nix-static/builder.sh @@ -15,7 +15,7 @@ postInstall() { cd $out/bin find . -type f | while read fn; do - cat $fn | sed "s|/nix/store/[a-z0-9]*-|/nix/store/ffffffffffffffffffffffffffffffff-|g" > $fn.tmp + cat $fn | sed "s|/nix/store/[a-z0-9]*-glibc|/nix/store/ffffffffffffffffffffffffffffffff-glibc|g" > $fn.tmp if test -x $fn; then chmod +x $fn.tmp; fi mv $fn.tmp $fn done