29 lines
1 KiB
Nix
29 lines
1 KiB
Nix
self: super:
|
|
let
|
|
inherit (super) fetchFromGitHub;
|
|
master = import super.sources.nixpkgs-master { };
|
|
inherit (master.haskell.lib) overrideCabal unmarkBroken;
|
|
myOverrides = self: super: {
|
|
};
|
|
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 ghcid ghcide
|
|
haskell-language-server cabal-install dhall taskwarrior pandoc hlint
|
|
cabal2nix weeder reflex-dom password optics shh-extras neuron
|
|
hspec-discover cabal-edit paths hmatrix;
|
|
} // makeHaskellScriptPackages p;
|
|
in {
|
|
nix-output-monitor = master.nix-output-monitor;
|
|
myHaskellPackages = makeHaskellPackages master.haskellPackages;
|
|
scriptGhc = master.ghc.withPackages
|
|
(p: builtins.attrValues (makeHaskellScriptPackages p));
|
|
ghc = (master.haskellPackages.override {
|
|
overrides = myOverrides;
|
|
}).ghc.withHoogle (p: builtins.attrValues (makeHaskellPackages p));
|
|
}
|