crystal: add PKG_CONFIG_PATH
Fixes an issue where crystal was unable to find -lpcre.
This commit is contained in:
parent
55a8faac50
commit
dac2ac1d0b
1 changed files with 3 additions and 0 deletions
|
@ -199,6 +199,9 @@ let
|
|||
wrapProgram $bin/bin/crystal \
|
||||
--suffix PATH : ${lib.makeBinPath [ pkg-config llvmPackages.clang which ]} \
|
||||
--suffix CRYSTAL_PATH : lib:$lib/crystal \
|
||||
--suffix PKG_CONFIG_PATH : ${
|
||||
lib.makeSearchPathOutput "dev" "lib/pkgconfig" finalAttrs.buildInputs
|
||||
} \
|
||||
--suffix CRYSTAL_LIBRARY_PATH : ${
|
||||
lib.makeLibraryPath finalAttrs.buildInputs
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue