File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
# 'supportedSystems' restricts the set of systems that we will evaluate for. Useful when you're evaluating
2
2
# on a machine with e.g. no way to build the Darwin IFDs you need!
3
- { ifdLevel ? 3
3
+ { ifdLevel ? 1
4
4
, checkMaterialization ? false
5
5
, system ? builtins . currentSystem
6
6
, evalSystem ? builtins . currentSystem or "x86_64-linux"
Original file line number Diff line number Diff line change @@ -1120,6 +1120,10 @@ final: prev: {
1120
1120
} ) // final . lib . optionalAttrs ( ifdLevel > 1 ) {
1121
1121
# Things that require two levels of IFD to build (inputs should be in level 1)
1122
1122
nix-tools-unchecked = final . pkgsBuildBuild . haskell-nix . nix-tools-unchecked ;
1123
+ # This is the setup using the prefered Cabal library.
1124
+ default-setup = final . buildPackages . haskell-nix . compiler . ${ compiler-nix-name } . defaultSetupFor "some-package" ;
1125
+ # This is the one used when that one is not allowed.
1126
+ setup-cabal-from-ghc = final . buildPackages . haskell-nix . compiler . ${ compiler-nix-name } . defaultSetup . useCabalFromGHC ;
1123
1127
} // final . lib . optionalAttrs ( ifdLevel > 1
1124
1128
&& final . haskell-nix . haskellLib . isCrossHost
1125
1129
# GHCJS builds its own template haskell runner.
You can’t perform that action at this time.
0 commit comments