Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
493 B · 37 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738{ stdenv, pdfium-binaries, replaceVars,}:
{ version, src, ... }:
stdenv.mkDerivation rec { pname = "printing"; inherit version src; inherit (src) passthru;
prePatch = '' if [ -d printing ]; then pushd printing; fi '';
patches = [ (replaceVars ./printing.patch { inherit pdfium-binaries; }) ];
postPatch = '' popd || true '';
dontBuild = true;
installPhase = '' runHook preInstall
cp -r . $out
runHook postInstall '';}