mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
crystal: add PKG_CONFIG_PATH
Fixes an issue where crystal was unable to find -lpcre.
This commit is contained in:
@@ -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