rustc: add build stdenv.cc dependency
This is required when cross-compiling, as otherwise the build will fail due to the missing cc program.
This commit is contained in:
parent
ada5320ea3
commit
f989817c8d
|
@ -155,7 +155,7 @@ in stdenv.mkDerivation rec {
|
||||||
# use it for the normal build. This disables cmake in Nix.
|
# use it for the normal build. This disables cmake in Nix.
|
||||||
dontUseCmakeConfigure = true;
|
dontUseCmakeConfigure = true;
|
||||||
|
|
||||||
depsBuildBuild = [ pkg-config ];
|
depsBuildBuild = [ pkgsBuildHost.stdenv.cc pkg-config ];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
file python3 rustPlatform.rust.rustc cmake
|
file python3 rustPlatform.rust.rustc cmake
|
||||||
|
|
Loading…
Reference in a new issue