forked from DGNum/infrastructure
feat(stirling-pdf): Add DGNum custom patch
This commit is contained in:
parent
323caed4ed
commit
ad7ce0be7e
1 changed files with 9 additions and 1 deletions
|
@ -1,10 +1,18 @@
|
|||
{ nixpkgs, ... }:
|
||||
|
||||
let
|
||||
dgn-id = "57ac2e06a00384772bf63f055874ce2fefe4eb0a";
|
||||
in
|
||||
|
||||
{
|
||||
services.stirling-pdf = {
|
||||
enable = true;
|
||||
|
||||
package = nixpkgs.unstable.stirling-pdf;
|
||||
package = nixpkgs.unstable.stirling-pdf.overrideAttrs (old: {
|
||||
patches = (old.patches or [ ]) ++ [
|
||||
(builtins.fetchurl "https://git.dgnum.eu/DGNum/Stirling-PDF/commit/${dgn-id}.patch")
|
||||
];
|
||||
});
|
||||
|
||||
domain = "pdf.dgnum.eu";
|
||||
port = 8084;
|
||||
|
|
Loading…
Reference in a new issue