override all Haskell packages
This commit is contained in:
parent
87c7d8dcf9
commit
a4c61396ed
@ -1,8 +1,5 @@
|
|||||||
with import <stockholm/lib>;
|
with import <stockholm/lib>;
|
||||||
|
let
|
||||||
self: super:
|
|
||||||
{
|
|
||||||
haskellPackages = super.haskellPackages.override {
|
|
||||||
overrides = self: super:
|
overrides = self: super:
|
||||||
listToAttrs
|
listToAttrs
|
||||||
(map
|
(map
|
||||||
@ -11,5 +8,13 @@ self: super:
|
|||||||
(filter
|
(filter
|
||||||
(name: name != "default.nix" && !hasPrefix "." name)
|
(name: name != "default.nix" && !hasPrefix "." name)
|
||||||
(attrNames (readDir ./.))));
|
(attrNames (readDir ./.))));
|
||||||
|
in
|
||||||
|
self: super:
|
||||||
|
{
|
||||||
|
haskell.packages = mapAttrs (_: pkgs: pkgs.override {
|
||||||
|
inherit overrides;
|
||||||
|
}) super.haskell.packages;
|
||||||
|
haskellPackages = super.haskellPackages.override {
|
||||||
|
inherit overrides;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user