Files
nextjs-python-web-template/templates/new-clan/flake.nix
2023-07-26 11:31:39 +02:00

22 lines
542 B
Nix

{
description = "<Put your description here>";
inputs = {
clan-core.url = "git+https://git.clan.lol/clan/clan-core";
flake-parts.url = "github:hercules-ci/flake-parts";
};
outputs = inputs @ { flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = builtins.fromJSON (builtins.readFile ./systems.json);
imports =
let
relPaths = builtins.fromJSON (builtins.readFile ./imports.json);
paths = map (path: ./. + path) relPaths;
in
paths;
};
}