diff options
| author | Grace Yoder <grace_yoder@outlook.com> | 2026-09-10 12:13:32 -0400 |
|---|---|---|
| committer | Grace Yoder <grace_yoder@outlook.com> | 2026-09-14 12:51:51 -0400 |
| commit | ff15618469488db5dd6f4d932a2bdda787ce3956 (patch) | |
| tree | e5ac3870fe465b04e50d0dc338878976d386e606 /flake.nix | |
| parent | 02132764068aa51ac98628d988dff15255308df0 (diff) | |
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..a956884 --- /dev/null +++ b/flake.nix @@ -0,0 +1,18 @@ +{ + description = "HTMLua HTML templating engine"; + + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + + outputs = { self, nixpkgs }: + let + systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; + forAllSystems = nixpkgs.lib.genAttrs systems; + in { + packages = forAllSystems (system: + let pkgs = import nixpkgs { inherit system; }; + in { + htmlua = import ./default.nix { inherit pkgs; }; + default = self.packages.${system}.htmlua; + }); + }; +} |
