robin/maivi

a tiny cute lua web framework

git clone https://git.robinwobin.dev/robin/maivi

robinlua: add md4c modulefdcf906

main
604 B23 linesraw
1{
2  description = "maivi";
3
4  inputs = {
5    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
6  };
7
8  outputs =
9    { self, nixpkgs }:
10    let
11      lib = nixpkgs.lib;
12      forAllSystems = f: lib.genAttrs lib.systems.flakeExposed (s: f nixpkgs.legacyPackages.${s});
13    in
14    {
15      packages = forAllSystems (pkgs: {
16        default = pkgs.callPackage ./nix/package.nix { };
17      });
18      devShells = forAllSystems (pkgs: {
19        default = pkgs.callPackage ./nix/shell.nix { inherit self; };
20      });
21      formatter = forAllSystems (pkgs: pkgs.callPackage ./nix/formatter.nix { });
22    };
23}