Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
419 B · 26 lines
Nix
123456789101112131415161718192021222324252627{ stdenv, pdfium-binaries,}:
{ version, src, ... }:
stdenv.mkDerivation rec { pname = "pdfrx"; inherit version src; inherit (src) passthru;
postPatch = '' substituteInPlace linux/CMakeLists.txt \ --replace-fail "\''${PDFIUM_DIR}/\''${PDFIUM_RELEASE}" "${pdfium-binaries}" '';
installPhase = '' runHook preInstall
mkdir $out cp -a ./* $out/
runHook postInstall '';}