nte/flake.nix

22 lines
457 B
Nix
Raw Normal View History

2024-05-22 21:19:37 +02:00
{
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;
}
);
};
}