nte/flake.nix
2024-05-22 21:19:37 +02:00

21 lines
457 B
Nix

{
description = "Nix Template Engine";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
};
outputs = {nixpkgs, ...}: let
systems = ["x86_64-linux" "aarch64-linux"];
forEachSystem = nixpkgs.lib.genAttrs systems;
pkgsForEach = nixpkgs.legacyPackages;
in {
engines = forEachSystem (
system: let
pkgs = pkgsForEach.${system};
in {
default = import ./engine.nix pkgs;
}
);
};
}