haskell overlay: only override packages
Fixes a regression introduced by a4c61396ed
.
This commit is contained in:
parent
09a7b7e43e
commit
585092f686
@ -11,9 +11,13 @@ let
|
|||||||
in
|
in
|
||||||
self: super:
|
self: super:
|
||||||
{
|
{
|
||||||
haskell.packages = mapAttrs (_: pkgs: pkgs.override {
|
haskell = super.haskell // {
|
||||||
inherit overrides;
|
packages = mapAttrs (name: value:
|
||||||
}) super.haskell.packages;
|
if hasAttr "override" value
|
||||||
|
then value.override { inherit overrides; }
|
||||||
|
else value
|
||||||
|
) super.haskell.packages;
|
||||||
|
};
|
||||||
haskellPackages = super.haskellPackages.override {
|
haskellPackages = super.haskellPackages.override {
|
||||||
inherit overrides;
|
inherit overrides;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user