22 lines
807 B
Nix
22 lines
807 B
Nix
self: super:
|
|
let
|
|
master = import super.sources.nixpkgs-master { };
|
|
inherit (master.haskell.lib) overrideCabal unmarkBroken;
|
|
makeHaskellScriptPackages = p: {
|
|
inherit (p)
|
|
aeson shh string-interpolate relude replace-megaparsec async say
|
|
megaparsec fdo-notify these;
|
|
};
|
|
makeHaskellPackages = p:
|
|
{
|
|
inherit (p)
|
|
brittany ormolu releaser cabal-fmt stack ghcide cabal-install dhall
|
|
aeson unordered-containers these neuron taskwarrior pandoc hlint
|
|
cabal2nix weeder;
|
|
} // makeHaskellScriptPackages p;
|
|
in {
|
|
myHaskellPackages = makeHaskellPackages master.haskellPackages;
|
|
scriptGhc = master.ghc.withPackages
|
|
(p: builtins.attrValues (makeHaskellScriptPackages p));
|
|
ghc = master.ghc.withPackages (p: builtins.attrValues (makeHaskellPackages p));
|
|
}
|