Commit ff363bd7 authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari

ghc.mk: Ensure that ghc-pkg path is quoted

Otherwise this will fail if the prefix path contains spaces. Thanks to
marinelli for pointing this out.

Test Plan: Validate

Reviewers: austin

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D3604
parent a786b136
......@@ -1039,7 +1039,7 @@ install_packages: rts/dist/package.conf.install
# Finally, update package.cache to ensure it's newer than the registration
# files. This avoids #13375.
$(INSTALLED_GHC_PKG_REAL) --global-package-db "$(INSTALLED_PACKAGE_CONF)" recache
"$(INSTALLED_GHC_PKG_REAL)" --global-package-db "$(INSTALLED_PACKAGE_CONF)" recache
# -----------------------------------------------------------------------------
# Binary distributions
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment