ghc_binary_repro_test/default.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}"