mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 11:47:31 +00:00
parent
e3c374fac4
commit
a0249ed425
@ -44,7 +44,7 @@ in stdenv.mkDerivation (args // {
|
||||
export CARGO_HOME="$(realpath deps)"
|
||||
|
||||
# Let's find out which $indexHash cargo uses for file:///dev/null
|
||||
(cd $sourceRoot && cargo fetch &>/dev/null)
|
||||
(cd $sourceRoot && cargo fetch &>/dev/null) || true
|
||||
cd deps
|
||||
indexHash="$(basename $(echo registry/index/*))"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user