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
|
set -euo pipefail
|
||||||
|
|
||||||
cd ../deps/registry/src/*
|
cd $NIX_BUILD_TOP/deps/registry/src/*
|
||||||
|
|
||||||
for script in $patchRegistryDeps/*; do
|
for script in $patchRegistryDeps/*; do
|
||||||
# Run in a subshell so that directory changes and shell options don't
|
# Run in a subshell so that directory changes and shell options don't
|
||||||
|
Loading…
x
Reference in New Issue
Block a user