tv pkgs haskell: init
This commit is contained in:
parent
5f0b1b8035
commit
4319a38680
20
tv/5pkgs/haskell/default.nix
Normal file
20
tv/5pkgs/haskell/default.nix
Normal file
@ -0,0 +1,20 @@
|
||||
with import <stockholm/lib>;
|
||||
let
|
||||
overrides = self: super:
|
||||
mapNixDir (path: self.callPackage path {}) [
|
||||
<stockholm/krebs/5pkgs/haskell>
|
||||
./.
|
||||
];
|
||||
in
|
||||
self: super: {
|
||||
haskell = super.haskell // {
|
||||
packages = mapAttrs (name: value:
|
||||
if hasAttr "override" value
|
||||
then value.override { inherit overrides; }
|
||||
else value
|
||||
) super.haskell.packages;
|
||||
};
|
||||
haskellPackages = super.haskellPackages.override {
|
||||
inherit overrides;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user