2023-08-27 07:48:57 +02:00
|
|
|
# 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";
|
2023-08-25 06:14:55 +02:00
|
|
|
inputs.nixpkgs.url = "nixpkgs/nixos-unstable";
|
2023-09-14 06:00:14 +02:00
|
|
|
outputs = { nixpkgs, ... }:
|
|
|
|
let lib = import ./. nixpkgs; in
|
|
|
|
lib.mkFlake ./. {
|
|
|
|
outputs = { 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-08-28 00:39:11 +02:00
|
|
|
};
|
2023-04-09 02:56:06 +02:00
|
|
|
}
|