Skip to content

Commit

Permalink
Merge pull request #254620 from NixOS/backport-242512-to-release-23.05
Browse files Browse the repository at this point in the history
[Backport release-23.05] crystal: add PKG_CONFIG_PATH
  • Loading branch information
Artturin authored Sep 12, 2023
2 parents 3dcfb68 + ad6ed7d commit 12f6300
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/compilers/crystal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,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
}
Expand Down

0 comments on commit 12f6300

Please sign in to comment.