14 lines
353 B
Nix
14 lines
353 B
Nix
{
|
|
hs-pkg-name ? "wcwidth",
|
|
ghcSrc ? /home/ninjatrappeur/Code/perso/haskell/ghc
|
|
}:
|
|
let
|
|
ghcOverlay =
|
|
import ./overlays/ghc.nix {
|
|
inherit ghcSrc pkgs;
|
|
};
|
|
nixpkgsConfig = { overlays = [ ghcOverlay ]; };
|
|
nixpkgsSrc = (import ./nix/sources.nix).nixpkgs;
|
|
pkgs = import nixpkgsSrc nixpkgsConfig;
|
|
in pkgs.customGhcHEAD."${hs-pkg-name}"
|