Skip to content
Snippets Groups Projects
Commit 4b60c297 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

try to make zlib build use pkg-config

parent 6406943d
No related branches found
No related tags found
1 merge request!45Split "semantic" tests out to a separate package
Pipeline #5543 passed
......@@ -100,6 +100,13 @@
# dependencies, if necessary.
nix run .#write-cabal-project
# Also, zlib doesn't want to use pkg-config by default. Convince
# it...
cat >>cabal.project.local <<EOF
package zlib
flags: +pkg-config
EOF
# Here we make zlib discoverable by pkg-config so cabal can find
# headers and stuff.
export PKG_CONFIG_PATH=${pkgs.lib.makeSearchPath "lib/pkgconfig" [pkgs.zlib.dev]}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment