pkgsStatic.toybox: fix build

This commit is contained in:
Alyssa Ross 2021-09-19 13:51:38 +00:00
parent 77febc2993
commit f0bc4d95b8

View File

@ -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 .";