mirror of
https://github.com/nix-community/flakelight.git
synced 2024-11-24 16:33:21 +01:00
19 lines
566 B
Nix
19 lines
566 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 = "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;
|
|
};
|
|
}
|