pkgsStatic.toybox: fix build
This commit is contained in:
parent
77febc2993
commit
f0bc4d95b8
|
@ -18,7 +18,8 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ]; # needed for cross
|
||||
buildInputs = lib.optionals enableStatic [ stdenv.cc.libc stdenv.cc.libc.static ];
|
||||
buildInputs = lib.optionals (enableStatic && stdenv.cc.libc ? static)
|
||||
[ stdenv.cc.libc stdenv.cc.libc.static ];
|
||||
|
||||
postPatch = "patchShebangs .";
|
||||
|
||||
|
|
Loading…
Reference in a new issue