@@ -1,4 +1,4 @@
1−{ stdenv, lib, buildEnv, writeText, writeScriptBin, pkgs, pkgsi686Linux }:
1+{ stdenv, lib, buildEnv, writeText, writeShellScriptBin, pkgs, pkgsi686Linux }:
22
33{ name, profile ? ""
44, targetPkgs ? pkgs: [], multiPkgs ? pkgs: []
@@ -49,9 +49,7 @@ let
4949 [ (toString gcc.cc.lib)
5050 ];
5151
52− ldconfig = writeScriptBin "ldconfig" ''
53− #!${pkgs.stdenv.shell}
54−
52+ ldconfig = writeShellScriptBin "ldconfig" ''
5553 exec ${pkgs.glibc.bin}/bin/ldconfig -f /etc/ld.so.conf -C /etc/ld.so.cache "$@"
5654 '';
5755 etcProfile = writeText "profile" ''