mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-26 16:01:03 +00:00
pkgsStatic.toybox: fix build
This commit is contained in:
@@ -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 .";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user