haskellPackages: Avoid outer rec { .. }

This is much nicer for overlays. For example, if someone binds a new
compiler / package set, its integer-simple variation will automatically
appear.
This commit is contained in:
John Ericson 2018-09-24 18:34:04 -04:00
parent b9dce11712
commit 5779fdb3d0

View file

@ -36,7 +36,10 @@ let
});
};
in rec {
# Use this rather than `rec { ... }` below for sake of overlays.
inherit (pkgs.haskell) compiler packages;
in {
lib = haskellLib;
compiler = {