summary refs log tree commit diff
path: root/pkgs/development/compilers/rust/bootstrap.nix
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2023-04-22 12:53:23 -0700
committerAdam Joseph <adam@westernsemico.com>2023-04-22 14:41:58 -0700
commit0ac955ad63e2f94c64de584551493ceb33b00b45 (patch)
tree3bfd240e53c8975f81e00a9cce81a37fefaa0947 /pkgs/development/compilers/rust/bootstrap.nix
parentad3a53265807daf53c1e64482ad710a93fe8f1ce (diff)
downloadnixpkgs-0ac955ad63e2f94c64de584551493ceb33b00b45.tar
nixpkgs-0ac955ad63e2f94c64de584551493ceb33b00b45.tar.gz
nixpkgs-0ac955ad63e2f94c64de584551493ceb33b00b45.tar.bz2
nixpkgs-0ac955ad63e2f94c64de584551493ceb33b00b45.tar.lz
nixpkgs-0ac955ad63e2f94c64de584551493ceb33b00b45.tar.xz
nixpkgs-0ac955ad63e2f94c64de584551493ceb33b00b45.tar.zst
nixpkgs-0ac955ad63e2f94c64de584551493ceb33b00b45.zip
rust/cargo.nix: set HOST_PKG_CONFIG_PATH for cross builds
Prior to this commit, builds of
`pkgsCross.aarch64-multiplatform.cargo` would fail due to being
unable to find `-lz` when compiling cargo's own `build.rs` for the
`buildPlatform`.

This environment variable uses the (very confusing) LLVM convention
of calling the buildPlatform "HOST".

Co-authored-by: figsoda <figsoda@pm.me>
Diffstat (limited to 'pkgs/development/compilers/rust/bootstrap.nix')
0 files changed, 0 insertions, 0 deletions