Skip to content

Commit 40a6da8

Browse files
committed
fix parens
1 parent 987ae45 commit 40a6da8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/ghc/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -671,12 +671,12 @@ stdenv.mkDerivation (rec {
671671
${hadrian}/bin/hadrian ${hadrianArgs} _build/stage0/compiler/build/$a
672672
cp _build/stage0/compiler/build/$a compiler/GHC/Builtin/$a
673673
done
674-
'' + lib.optionalString stdenv.isDarwin && (__tryEval libcxxabi).success ''
674+
'' + lib.optionalString (stdenv.isDarwin && (__tryEval libcxxabi).success) ''
675675
substituteInPlace mk/system-cxx-std-lib-1.0.conf \
676676
--replace 'dynamic-library-dirs:' 'dynamic-library-dirs: ${libcxx}/lib ${libcxxabi}/lib'
677677
find . -name 'system*.conf*'
678678
cat mk/system-cxx-std-lib-1.0.conf
679-
'' + lib.optionalString stdenv.isDarwin && !(__tryEval libcxxabi).success ''
679+
'' + lib.optionalString (stdenv.isDarwin && !(__tryEval libcxxabi).success) ''
680680
substituteInPlace mk/system-cxx-std-lib-1.0.conf \
681681
--replace 'dynamic-library-dirs:' 'dynamic-library-dirs: ${libcxx}/lib'
682682
find . -name 'system*.conf*'

0 commit comments

Comments
 (0)