git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #12337 from twhitehead/master

buildRustPackage.pkg-config: don't hardcode /nix/store, use $NIX_STORE

commite6cb9172abfba478d7b22e0f25d0f32bbe858613 authorRicardo M. Correia <rcorreia@wizy.org> dateTue 12 Jan 2016, 20:28 (11 years ago) parent3eaca0b5c89edb
1 file changed+1−1
pkgs/build-support/rust/patch-registry-deps/pkg-config+1−1
pkgs/build-support/rust/patch-registry-deps/pkg-config+1−1
@@ -4,5 +4,5 @@ for dir in pkg-config-*; do
44 echo "Patching pkg-config registry dep"
55
66 substituteInPlace "$dir/src/lib.rs" \
7− --replace '"/usr"' '"/nix/store/"'
7+ --replace '"/usr"' '"'"$NIX_STORE"'/"'
88done