Skip to content

Commit 65cbd10

Browse files
authored
Change the way stack-to-nix outputs ghc options (input-output-hk#102)
This is needed for input-output-hk#1046
1 parent f3148a5 commit 65cbd10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Stack2nix.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ flags2nix pkgFlags =
133133
ghcOptions2nix :: GhcOptions -> [Binding NExpr]
134134
ghcOptions2nix ghcOptions =
135135
[ quoted pkgName $= mkNonRecSet
136-
[ "package" $= mkNonRecSet [ "ghcOptions" $= mkStr opts ] ]
136+
[ "ghcOptions" $= mkList [ mkStr opts ] ]
137137
| (pkgName, opts) <- HM.toList ghcOptions
138138
]
139139

0 commit comments

Comments
 (0)