Skip to content

Commit

Permalink
Use static default-setup
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Apr 2, 2024
1 parent 39bdf88 commit f902ca8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions overlays/haskell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1120,10 +1120,6 @@ final: prev: {
}) // final.lib.optionalAttrs (ifdLevel > 1) {
# Things that require two levels of IFD to build (inputs should be in level 1)
nix-tools-unchecked = final.pkgsBuildBuild.haskell-nix.nix-tools-unchecked;
# This is the setup using the prefered Cabal library.
default-setup = final.buildPackages.haskell-nix.compiler.${compiler-nix-name}.defaultSetupFor "some-package";
# This is the one used when that one is not allowed.
setup-cabal-from-ghc = final.buildPackages.haskell-nix.compiler.${compiler-nix-name}.defaultSetup.useCabalFromGHC;
} // final.lib.optionalAttrs (ifdLevel > 1
&& final.haskell-nix.haskellLib.isCrossHost
# GHCJS builds its own template haskell runner.
Expand Down

0 comments on commit f902ca8

Please sign in to comment.