darwin.CF: fix retry condition (close PR #75528)
Using a function in an if condition when set -e is set doesn't seem to break out or return false which means the workaround from 41ca86129fa18278758e177d1821351dc608d24c never gets triggered.
This commit is contained in:
parent
a376f1849d
commit
d5d8b3514d
@ -76,7 +76,7 @@ stdenv.mkDerivation {
|
|||||||
# later.
|
# later.
|
||||||
buildPhase = stdenv.lib.optionalString true ''
|
buildPhase = stdenv.lib.optionalString true ''
|
||||||
for i in {1..512}; do
|
for i in {1..512}; do
|
||||||
if ninjaBuildPhase; then
|
if ninja -j $NIX_BUILD_CORES; then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user