We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pkg-config
1 parent 1c9ada0 commit 69d1e60Copy full SHA for 69d1e60
builder/make-config-files.nix
@@ -135,6 +135,11 @@ let
135
export HASKELL_GI_GIR_SEARCH_PATH
136
export HASKELL_GI_TYPELIB_SEARCH_PATH
137
138
+ # Make `pkg-config` work for haskell-gi setup executables
139
+ PKG_CONFIG_EXE=$(mktemp -d)
140
+ ln -s $(${pkgs.which}/bin/which $PKG_CONFIG) $PKG_CONFIG_EXE/pkg-config
141
+ export PATH=$PATH:$PKG_CONFIG_EXE
142
+
143
''}
144
${ # Note: we pass `clear` first to ensure that we never consult the implicit global package db.
145
# However in `cabal.config` `cabal` requires `global` to be first.
0 commit comments