Skip to content

Commit dc6bb5c

Browse files
committed
Allow cabal-install to be overridden
1 parent f714e81 commit dc6bb5c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/cabalProjectToNix.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{ mkHackageIndex, pkgs, runCommand, nix-tools, cabal-install, ghc, hpack }:
22
let defaultGhc = ghc;
3-
in { hackageIndexState, src, ghc ? defaultGhc }:
3+
defaultCabalInstall = cabal-install;
4+
in { hackageIndexState, src, ghc ? defaultGhc, cabal-install ? defaultCabalInstall }:
45
let
56
cabalFiles =
67
pkgs.lib.cleanSourceWith {

0 commit comments

Comments
 (0)