1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 00:42:33 +03:00

Run the rest of it out of the cabal exec.

This commit is contained in:
Rob Rix 2019-11-01 11:02:44 -04:00
parent 35270bedde
commit ddff669740
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -32,7 +32,7 @@ echo "-optP-include"
echo "-optP$root/dist-newstyle/build/x86_64-osx/ghc-$ghc_version/semantic-0.8.0.0/build/autogen/cabal_macros.h"
# Emit package flags from the environment file, removing comments & prefixing with -
cabal exec -v0 bash -- -c 'cat $GHC_ENVIRONMENT | grep -v "^--" | sed -e "s/^/-/"'
cabal exec -v0 bash -- -c 'cat $GHC_ENVIRONMENT' | grep -v '^--' | sed -e 's/^/-/'
echo "-XHaskell2010"