1
1
forked from extern/flakelight
flakelight/flake.nix

19 lines
579 B
Nix
Raw Normal View History

# flakelight -- Framework for simplifying flake setup
2023-04-09 02:56:06 +02:00
# Copyright (C) 2023 Archit Gupta <archit@accelbread.com>
# SPDX-License-Identifier: MIT
{
2023-09-06 05:04:14 +02:00
description =
"A modular Nix flake framework for simplifying flake definitions";
2024-06-28 15:59:41 +02:00
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
2024-01-10 08:23:13 +01:00
outputs = inputs:
let lib = import ./. inputs; in
lib.mkFlake ./. {
2023-09-14 07:54:25 +02:00
inherit lib;
functor = _: lib.mkFlake;
2023-08-28 00:39:11 +02:00
templates = import ./templates;
2023-09-05 01:59:59 +02:00
checks.statix = pkgs: "${pkgs.statix}/bin/statix check";
2023-12-05 08:48:31 +01:00
outputs.tests = import ./tests inputs;
2023-08-28 00:39:11 +02:00
};
2023-04-09 02:56:06 +02:00
}