File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1313} :
1414let
1515
16- configureFlags = lib . optional hostPlatform . isWindows "--disable-split-sections" ;
16+ configureFlags = [ "--disable-split-sections" ] ;
1717
1818 wineIservWrapperScript = enableProfiling :
1919 let
7373 ################################################################################
7474 # Build logic (TH support via remote iserv via wine)
7575 #
76- ghcOptions = lib . optionals hostPlatform . isWindows ( [
76+ ghcOptions = [
7777 "-fexternal-interpreter"
7878 "-pgmi" "${ wineIservWrapper } /bin/iserv-wrapper"
7979 # TODO: this should be automatically injected based on the extraLibrary.
8080 "-L${ mingw_w64_pthreads } /lib"
8181 "-L${ mingw_w64_pthreads } /bin"
8282 "-L${ gmp } /lib"
83- ] ) ;
83+ ] ;
8484
8585 ################################################################################
8686 # Test logic via wine
103103 export Path
104104 ${ wine } /bin/wine64 $@
105105 '' ;
106- testWrapper = lib . optional hostPlatform . isWindows "${ wineTestWrapper } /bin/test-wrapper" ;
106+ testWrapper = [ "${ wineTestWrapper } /bin/test-wrapper" ] ;
107107
108108in { inherit testWrapper ghcOptions configureFlags ; }
You can’t perform that action at this time.
0 commit comments