feat: got a pipeline to convert the Minutes as well

This commit is contained in:
silver 2024-05-12 15:53:06 +01:00
parent 58451c8350
commit bd242e59cd
Signed by: silver
GPG key ID: 54E2C71918E93B74
11 changed files with 622 additions and 19 deletions

View file

@ -19,10 +19,10 @@
outputs = { self, nixpkgs, utils, bfom }: utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
system = "${system}";
pkgs = import nixpkgs {
system = "${system}";
config = {
allowUnfree = true;
allowUnfree = true;
permittedInsecurePackages = [
# for obsidian
"electron-25.9.0"
@ -42,17 +42,16 @@
'';
};
apps.bfom = {
type = "app";
program = "${bfom.defaultPackage.x86_64-linux}/bin/cargo-bfom";
};
packages = {
handovers = pkgs.writeShellScriptBin "format_handovers" ''
export PATH=${pkgs.lib.makeBinPath [ pkgs.wkhtmltopdf 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
${./_scripts/format_minutes.sh}
'';
};
});