Skip to content

Commit 1069180

Browse files
committed
Fix cabal.config
# Conflicts: # builder/make-config-files.nix
1 parent ad6a27a commit 1069180

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

builder/make-config-files.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ let
1111

1212
flagsAndConfig = field: xs: lib.optionalString (xs != []) ''
1313
echo ${lib.concatStringsSep " " (map (x: "--${field}=${x}") xs)} >> $configFiles/configure-flags
14-
echo "${field}: ${lib.concatStringsSep " " xs}" >> $configFiles/cabal.config
14+
${lib.concatStrings (map (x: ''
15+
echo "${field}: ${x}" >> $configFiles/cabal.config
16+
'') xs)}
1517
'';
1618

1719
target-pkg = "${ghc.targetPrefix}ghc-pkg";

0 commit comments

Comments
 (0)