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 285285
286286 enableParallelBuilding = true ;
287287
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" ;
289289
290290 inherit cabalFile ;
291291 passAsFile = [ "cabalFile" ] ;
Original file line number Diff line number Diff line change 3535
3636 setup = if package . buildType == "Simple"
3737 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
4642 else setup-builder ( {
4743 component = components . setup // {
4844 depends = config . setup-depends ++ components . setup . depends ++ package . setup-depends ;
You can’t perform that action at this time.
0 commit comments