Skip to content

Commit c8799d9

Browse files
committed
WIP
1 parent 97efe37 commit c8799d9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/dummy-ghc-pkg-dump/default.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ let
109109
FILES=( **/*.cabal.in )
110110
./config.status $(printf -- '--file %s ' ''${FILES[@]%.in})
111111
112+
FLAGS=(${lib.concatStringsSep " " flags})
113+
VERSION=$(cabal2json ghc/ghc-bin.cabal | jq .version)
114+
FLAGS+=(--compiler ghc-$VERSION)
115+
112116
# Convert to json
113117
for f in **/*.cabal; do
114118
# FIXME

0 commit comments

Comments
 (0)