fix hasekllPackages overlay
This commit is contained in:
parent
e3b7c07daf
commit
f1117f27ec
|
@ -52,7 +52,6 @@
|
||||||
nur.overlay
|
nur.overlay
|
||||||
agenix.overlay
|
agenix.overlay
|
||||||
nvfetcher.overlay
|
nvfetcher.overlay
|
||||||
(final: prev: { nvfetcher-bin = nvfetcher.defaultPackage.${final.system}; })
|
|
||||||
./pkgs/default.nix
|
./pkgs/default.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -14,15 +14,15 @@ channels: final: prev: {
|
||||||
starship;
|
starship;
|
||||||
|
|
||||||
|
|
||||||
haskellPackages = prev.haskellPackages.override {
|
haskellPackages = prev.haskellPackages.override
|
||||||
overrides = hfinal: hprev:
|
(old: {
|
||||||
|
overrides = prev.lib.composeExtensions (old.overrides or (_: _: { })) (hfinal: hprev:
|
||||||
let version = prev.lib.replaceChars [ "." ] [ "" ] prev.ghc.version;
|
let version = prev.lib.replaceChars [ "." ] [ "" ] prev.ghc.version;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# same for haskell packages, matching ghc versions
|
# same for haskell packages, matching ghc versions
|
||||||
inherit (channels.latest.haskell.packages."ghc${version}")
|
inherit (channels.latest.haskell.packages."ghc${version}")
|
||||||
haskell-language-server;
|
haskell-language-server;
|
||||||
};
|
});
|
||||||
};
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue