[Nix-dev] [***SPAM***] [Nix-commits] SVN commit: nix - r31698 -nixpkgs/branches/stdenv-updates/pkgs/development/tools/misc/binutils

Michael Raskin 7c6f434c at mail.ru
Thu Jan 19 16:05:30 CET 2012


>* Don't use substite() here, because the bash binary in the bootstrap
>
>Modified: nixpkgs/branches/stdenv-updates/pkgs/development/tools/misc/binutils/default.nix
>==============================================================================
>--- nixpkgs/branches/stdenv-updates/pkgs/development/tools/misc/binutils/default.nix	Thu Jan 19 14:46:06 2012	(r31697)
>+++ nixpkgs/branches/stdenv-updates/pkgs/development/tools/misc/binutils/default.nix	Thu Jan 19 14:55:12 2012	(r31698)
>@@ -31,7 +31,7 @@
>     # Use symlinks instead of hard links to save space ("strip" in the
>     # fixup phase strips each hard link separately).
>     for i in binutils/Makefile.in gas/Makefile.in ld/Makefile.in; do
>-        substituteInPlace $i --replace 'ln ' 'ln -s '
>+        set -i "$i" 's|ln |ln -s |'

You meant sed or not?





More information about the nix-dev mailing list