File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 285
285
286
286
enableParallelBuilding = true ;
287
287
288
- SETUP_HS = setup + ( if setup . isCabal or false then "/bin/cabal act-as-setup --build-type=Simple --" else "/bin/ Setup") ;
288
+ SETUP_HS = setup + "/bin/Setup" ;
289
289
290
290
inherit cabalFile ;
291
291
passAsFile = [ "cabalFile" ] ;
Original file line number Diff line number Diff line change 35
35
36
36
setup = if package . buildType == "Simple"
37
37
then
38
- if stdenv . targetPlatform . isGhcjs
39
- then
40
- # Don't try to build default setup with DWARF enabled
41
- let defaultSetup = ghc . defaultSetupFor package . identifier . name // {
42
- dwarf = defaultSetup ;
43
- } ; in defaultSetup
44
- else
45
- buildPackages . haskell-nix . nix-tools-unchecked . exes . cabal // { isCabal = true ; }
38
+ # Don't try to build default setup with DWARF enabled
39
+ let defaultSetup = ghc . defaultSetupFor package . identifier . name // {
40
+ dwarf = defaultSetup ;
41
+ } ; in defaultSetup
46
42
else setup-builder ( {
47
43
component = components . setup // {
48
44
depends = config . setup-depends ++ components . setup . depends ++ package . setup-depends ;
You can’t perform that action at this time.
0 commit comments