forked from mirrors/nixpkgs
rust: fix prePatch phase fail when sourceRoot set
We want to go up more than a single directory if we're in a nested one.
This commit is contained in:
parent
7fcce2a9f0
commit
8b644c5826
|
@ -75,7 +75,7 @@ in stdenv.mkDerivation (args // {
|
|||
(
|
||||
set -euo pipefail
|
||||
|
||||
cd ../deps/registry/src/*
|
||||
cd $NIX_BUILD_TOP/deps/registry/src/*
|
||||
|
||||
for script in $patchRegistryDeps/*; do
|
||||
# Run in a subshell so that directory changes and shell options don't
|
||||
|
|
Loading…
Reference in a new issue