You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
363 B
14 lines
363 B
{ |
|
hs-pkg-name ? "wcwidth", |
|
ghcSrcDrv ? ./examples/ghc.nix |
|
}: |
|
let |
|
ghcSrc = import ghcSrcDrv; |
|
ghcOverlay = |
|
import ./overlays/ghc.nix { |
|
inherit ghcSrc pkgs; |
|
}; |
|
nixpkgsConfig = { overlays = [ ghcOverlay ]; }; |
|
nixpkgsSrc = (import ./nix/sources.nix).nixpkgs; |
|
pkgs = import nixpkgsSrc nixpkgsConfig; |
|
in pkgs.haskellPackages."${hs-pkg-name}"
|
|
|