1
1
forked from extern/flakelight
flakelight/flake.nix
2024-07-09 05:09:41 +00:00

19 lines
579 B
Nix

# flakelight -- Framework for simplifying flake setup
# Copyright (C) 2023 Archit Gupta <archit@accelbread.com>
# SPDX-License-Identifier: MIT
{
description =
"A modular Nix flake framework for simplifying flake definitions";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs = inputs:
let lib = import ./. inputs; in
lib.mkFlake ./. {
inherit lib;
functor = _: lib.mkFlake;
templates = import ./templates;
checks.statix = pkgs: "${pkgs.statix}/bin/statix check";
outputs.tests = import ./tests inputs;
};
}