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