summaryrefslogtreecommitdiff
path: root/utils/ghc-pkg/ghc-pkg.wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'utils/ghc-pkg/ghc-pkg.wrapper')
-rw-r--r--utils/ghc-pkg/ghc-pkg.wrapper2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ghc-pkg/ghc-pkg.wrapper b/utils/ghc-pkg/ghc-pkg.wrapper
index 27b8ceddf8..6d3c2af70e 100644
--- a/utils/ghc-pkg/ghc-pkg.wrapper
+++ b/utils/ghc-pkg/ghc-pkg.wrapper
@@ -1,5 +1,5 @@
#!/bin/sh
-PKGCONF=$datadir/package.conf
+PKGCONF=$topdir/package.conf
exec $executablename --global-conf $PKGCONF ${1+"$@"}