hnix-store/default.nix

17 lines
513 B
Nix
Raw Normal View History

2019-03-10 02:32:01 +03:00
{ pkgs ? import <nixpkgs> {} }: let
overlay = import ./overlay.nix;
overrideHaskellPackages = orig: {
buildHaskellPackages =
orig.buildHaskellPackages.override overrideHaskellPackages;
overrides = if orig ? overrides
then pkgs.lib.composeExtensions orig.overrides overlay
else overlay;
};
in {
haskellPackages =
pkgs.haskellPackages.override overrideHaskellPackages;
2020-03-04 11:26:28 +03:00
haskell865Packages =
pkgs.haskell.packages.ghc865.override overrideHaskellPackages;
2019-03-10 02:32:01 +03:00
inherit pkgs;
}