mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
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 41ca86129f
never gets triggered.
This commit is contained in:
parent
a376f1849d
commit
d5d8b3514d
1 changed files with 2 additions and 2 deletions
|
@ -76,8 +76,8 @@ 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
|
||||||
|
|
||||||
echo >&2
|
echo >&2
|
||||||
|
|
Loading…
Reference in a new issue