crystal: add PKG_CONFIG_PATH
Fixes an issue where crystal was unable to find -lpcre.
This commit is contained in:
committed by
Peter Hoeg
parent
55a8faac50
commit
dac2ac1d0b
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user