mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
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 New Issue
Block a user