Unverified Commit 52815a11 authored by toastal's avatar toastal Committed by Michael Daniels
Browse files

h2o: include Perl JSON library to the path for binaries

Thanks Hythera
parent 7f4c1348
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@
  makeWrapper,
  ninja,
  perl,
  perlPackages,
  brotli,
  openssl,
  libcap,
@@ -44,6 +45,7 @@ stdenv.mkDerivation (finalAttrs: {
    cmake
    makeWrapper
    ninja
    perlPackages.JSON
  ]
  ++ lib.optionals withMruby [
    bison
@@ -72,6 +74,9 @@ stdenv.mkDerivation (finalAttrs: {
        --set "H2O_PERL" "${lib.getExe perl}" \
        --prefix "PATH" : "${lib.getBin openssl}/bin"
    done

    wrapProgram "$out/bin/h2olog" \
        --set "PERL5LIB" "$PERL5LIB"
  '';

  passthru = {