mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00: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
@ -76,8 +76,8 @@ stdenv.mkDerivation {
|
||||
# later.
|
||||
buildPhase = stdenv.lib.optionalString true ''
|
||||
for i in {1..512}; do
|
||||
if ninjaBuildPhase; then
|
||||
break
|
||||
if ninja -j $NIX_BUILD_CORES; then
|
||||
break
|
||||
fi
|
||||
|
||||
echo >&2
|
||||
|
Loading…
Reference in New Issue
Block a user