fix: turns out wkhtmltopdf has been depreciated for two years
It was running on a version of QT4 that hadnt gotten a browser update since 2015. See https://wkhtmltopdf.org/status.html for more info Its a shame to use a chrome based renderer for this but I would rather have somethign that would work At least we got teh nix cache out of this though
This commit is contained in:
parent
34a2138c56
commit
04b9be1fbc
3 changed files with 4 additions and 6 deletions
|
@ -31,8 +31,6 @@
|
|||
permittedInsecurePackages = [
|
||||
# for obsidian
|
||||
"electron-25.9.0"
|
||||
# for wkhtmltopdf
|
||||
"qtwebkit-5.212.0-alpha4"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
@ -49,12 +47,12 @@
|
|||
|
||||
packages = {
|
||||
handovers = pkgs.writeShellScriptBin "format_handovers" ''
|
||||
export PATH=${pkgs.lib.makeBinPath [pkgs.wkhtmltopdf bfom.defaultPackage.x86_64-linux]}:$PATH
|
||||
export PATH=${pkgs.lib.makeBinPath [pkgs.puppeteer-cli bfom.defaultPackage.x86_64-linux]}:$PATH
|
||||
${./_scripts/format_handovers.sh}
|
||||
'';
|
||||
|
||||
minutes = pkgs.writeShellScriptBin "format_minutes" ''
|
||||
export PATH=${pkgs.lib.makeBinPath [pkgs.wkhtmltopdf bfom.defaultPackage.x86_64-linux]}:$PATH
|
||||
export PATH=${pkgs.lib.makeBinPath [pkgs.puppeteer-cli bfom.defaultPackage.x86_64-linux]}:$PATH
|
||||
${./_scripts/format_minutes.sh}
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue