feat: got it working to create a html page
This commit is contained in:
parent
a02b0fb731
commit
527465ab07
9 changed files with 568 additions and 20 deletions
16
flake.nix
16
flake.nix
|
@ -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
|
||||
|
||||
'';
|
||||
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue