git.iko.soy/typeable/nixpkgs
on master help sign in
kexec-tools: use depsBuildBuild to get the right compiler

Need this to avoid this issue in pkgsStatic: ld: cannot find -lc /cc @ericson2314

commitc1287a4b9c4fb4a3c2ec9ff3e044bd378573fc2e authorMatthew Bauer <mjbauer95@gmail.com> dateFri 26 Apr 2019, 18:04 (8 years ago) parent58c4739
1 file changed+1−1
pkgs/os-specific/linux/kexectools/default.nix+1−1
pkgs/os-specific/linux/kexectools/default.nix+1−1
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 hardeningDisable = [ "format" "pic" "relro" "pie" ];
1616
1717 configureFlags = [ "BUILD_CC=${buildPackages.stdenv.cc.targetPrefix}cc" ];
18− nativeBuildInputs = [ buildPackages.stdenv.cc ];
18+ depsBuildBuild = [ buildPackages.stdenv.cc ];
1919 buildInputs = [ zlib ];
2020
2121 meta = with stdenv.lib; {