Skip to content

Commit 417a7da

Browse files
committed
Fix hpack support
1 parent c94ed63 commit 417a7da

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

modules/cabal-project.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ in {
116116
type = attrsOf (functionTo attrs);
117117
default = {};
118118
};
119+
supportHpack = mkOption {
120+
type = bool;
121+
default = false;
122+
};
119123

120124
# Used by mkCabalProjectPkgSet
121125
pkg-def-extras = mkOption {

test/cabal-hpack/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ let
1515
project = project' {
1616
inherit compiler-nix-name evalPackages;
1717
src = testSrc "cabal-hpack";
18+
supportHpack = true;
1819
inherit modules;
1920
};
2021

0 commit comments

Comments
 (0)