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-12-05 08:48:31 +01:00
|
|
|
outputs = { nixpkgs, ... }@inputs:
|
2023-09-14 06:00:14 +02:00
|
|
|
let lib = import ./. nixpkgs; in
|
|
|
|
lib.mkFlake ./. {
|
2023-09-14 07:54:25 +02:00
|
|
|
inherit lib;
|
2023-09-14 06:00:14 +02:00
|
|
|
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
|
|
|
}
|