forked from typeable/nixpkgs-stackage
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.nix
More file actions
26 lines (20 loc) · 1.26 KB
/
default.nix
File metadata and controls
26 lines (20 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Generated by stackage2nix 0.7.2 from "/nix/store/6nhazjk3wgalhgrzicf1my2y4sk5311z-source/lts-11.20.yaml"
{ callPackage, buildPackages, pkgs, stdenv, lib
, overrides ? (self: super: {})
, packageSetConfig ? (self: super: {})
}:
let
inherit (lib) extends makeExtensible;
haskellLib = pkgs.haskell.lib;
inherit (haskellLib) makePackageSet;
haskellPackages = pkgs.callPackage makePackageSet {
ghc = buildPackages.haskell.compiler.ghc822;
buildHaskellPackages = buildPackages.haskell.packages.ghc822;
package-set = import ./packages.nix;
inherit stdenv haskellLib extensible-self;
};
compilerConfig = import ./configuration-packages.nix { inherit pkgs haskellLib; };
configurationCommon = if builtins.pathExists ./configuration-common.nix then import ./configuration-common.nix { inherit pkgs haskellLib; } else self: super: {};
configurationNix = import (pkgs.path + "/pkgs/development/haskell-modules/configuration-nix.nix") { inherit pkgs haskellLib; };
extensible-self = makeExtensible (extends overrides (extends configurationCommon (extends packageSetConfig (extends compilerConfig (extends configurationNix haskellPackages)))));
in extensible-self