diff --git a/pkgs/development/compilers/crystal/default.nix b/pkgs/development/compilers/crystal/default.nix index 9f2e17dad09dc..022c4e543127c 100644 --- a/pkgs/development/compilers/crystal/default.nix +++ b/pkgs/development/compilers/crystal/default.nix @@ -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 }