1{ config, pkgs, lib, haskellLib, buildModules, ... }:
3 # TODO: this pkgs is the adjusted pkgs, but pkgs.pkgs is unadjusted
4 new-builder = haskellLib.weakCallPackage pkgs ../builder {
6 ghc = config.ghc.package;
7 buildGHC = buildModules.config.ghc.package;
8 inherit (config) nonReinstallablePkgs;
12 withPackage = import ../builder/with-package-wrapper.nix {
14 inherit (pkgs.buildPackages) stdenv runCommand makeWrapper;
15 inherit (pkgs.buildPackages.xorg) lndir;
16 ghc = config.ghc.package;
22 options.nonReinstallablePkgs = lib.mkOption {
23 type = lib.types.listOf lib.types.str;
26 config.nonReinstallablePkgs =
27 [ "rts" "ghc" "ghc-prim" "integer-gmp" "integer-simple" "base"
28 "array" "deepseq" "pretty" "ghc-boot-th" "template-haskell" "ghc-heap" ];
30 options.hsPkgs = lib.mkOption {
31 type = lib.types.unspecified;
34 config.hsPkgs = { buildPackages = buildModules.config.hsPkgs; }
36 (name: pkg: if pkg == null then null else new-builder pkg)
37 (config.packages // lib.genAttrs config.nonReinstallablePkgs (_: null));
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list