build-fhs-userenv-bubblewrap:->writeShellScriptBin
This commit is contained in:
parent
12c2eae2c5
commit
548d50d695
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, lib, buildEnv, writeText, writeScriptBin, pkgs, pkgsi686Linux }:
|
{ stdenv, lib, buildEnv, writeText, writeShellScriptBin, pkgs, pkgsi686Linux }:
|
||||||
|
|
||||||
{ name, profile ? ""
|
{ name, profile ? ""
|
||||||
, targetPkgs ? pkgs: [], multiPkgs ? pkgs: []
|
, targetPkgs ? pkgs: [], multiPkgs ? pkgs: []
|
||||||
|
@ -49,9 +49,7 @@ let
|
||||||
[ (toString gcc.cc.lib)
|
[ (toString gcc.cc.lib)
|
||||||
];
|
];
|
||||||
|
|
||||||
ldconfig = writeScriptBin "ldconfig" ''
|
ldconfig = writeShellScriptBin "ldconfig" ''
|
||||||
#!${pkgs.stdenv.shell}
|
|
||||||
|
|
||||||
exec ${pkgs.glibc.bin}/bin/ldconfig -f /etc/ld.so.conf -C /etc/ld.so.cache "$@"
|
exec ${pkgs.glibc.bin}/bin/ldconfig -f /etc/ld.so.conf -C /etc/ld.so.cache "$@"
|
||||||
'';
|
'';
|
||||||
etcProfile = writeText "profile" ''
|
etcProfile = writeText "profile" ''
|
||||||
|
|
Loading…
Reference in New Issue