Skip to content
Snippets Groups Projects
Commit 7b2d1a5b authored by ilovezfs's avatar ilovezfs
Browse files

Haskell::Cabal: fix overquoting of flags


Since `system` escapes its own spaces, cabal was interpreting
`--flags='webapp s3'` as `+'webapp +s3'` rather than `+webapp +s3`.

Closes #267.

Signed-off-by: default avatarilovezfs <ilovezfs@icloud.com>
parent 0123e04f
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,7 @@ module Language
# dependencies, and call cabal configure afterwards to set the flags again for compile
flags = ""
if options[:flags]
flags = "--flags='#{options[:flags].join(" ")}'"
flags = "--flags=#{options[:flags].join(" ")}"
end
args_and_flags = args
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment