Skip to content

Commit 226e097

Browse files
committed
Fix eval
1 parent ff5049a commit 226e097

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
@@ -733,7 +733,7 @@ stdenv.mkDerivation (rec {
733733
--replace 'dynamic-library-dirs:' 'dynamic-library-dirs: ${libcxx}/lib'
734734
find . -name 'system*.conf*'
735735
cat mk/system-cxx-std-lib-1.0.conf
736-
'' + lib.optionalString (installStage1 && stdenv.targetPlatform.isNativeMusl) ''
736+
'' + lib.optionalString (installStage1 && haskell-nix.haskellLib.isNativeMusl) ''
737737
substituteInPlace hadrian/cfg/system.config \
738738
--replace 'cross-compiling = YES' \
739739
'cross-compiling = NO'
@@ -823,7 +823,7 @@ stdenv.mkDerivation (rec {
823823
--replace 'dynamic-library-dirs:' 'dynamic-library-dirs: ${libcxx}/lib'
824824
find . -name 'system*.conf*'
825825
cat mk/system-cxx-std-lib-1.0.conf
826-
'' + lib.optionalString (installStage1 && stdenv.targetPlatform.isNativeMusl) ''
826+
'' + lib.optionalString (installStage1 && haskell-nix.haskellLib.isNativeMusl) ''
827827
substituteInPlace hadrian/cfg/system.config \
828828
--replace 'cross-compiling = YES' \
829829
'cross-compiling = NO'

0 commit comments

Comments
 (0)