flakelight/flake.nix

19 lines
584 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";
inputs.nixpkgs.url = "nixpkgs/nixos-unstable";
2023-12-05 08:48:31 +01:00
outputs = { nixpkgs, ... }@inputs:
let lib = import ./. nixpkgs; 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
}