feat: got it working to create a html page

This commit is contained in:
silver 2024-05-10 00:24:02 +01:00
parent a02b0fb731
commit 527465ab07
Signed by: silver
GPG key ID: 54E2C71918E93B74
9 changed files with 568 additions and 20 deletions

View file

@ -4,9 +4,10 @@
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
utils.url = "github:numtide/flake-utils";
bfom.url = "gitlab:silver_rust/bfom";
};
outputs = { self, nixpkgs, utils }: utils.lib.eachDefaultSystem (system:
outputs = { self, nixpkgs, utils, bfom }: utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
system = "${system}";
@ -27,5 +28,18 @@
trap "kill -9 $BG_PID" EXIT
'';
};
apps.bfom = {
type = "app";
program = "${bfom.defaultPackage.x86_64-linux}/bin/cargo-bfom";
};
packages.handovers = pkgs.writeShellScriptBin "format_handovers" ''
cd Committee
${bfom.defaultPackage.x86_64-linux}/bin/cargo-bfom
'';
});
}