kitchen/flake.nix

25 lines
712 B
Nix
Raw Normal View History

2021-12-31 13:30:27 -05:00
{
description = "kitchen";
inputs.nixpkgs = {
type = "indirect";
id = "nixpkgs";
};
2021-12-31 13:42:10 -05:00
inputs.gitignore = { url = "github:hercules-ci/gitignore.nix"; flake = false; };
2021-12-31 13:30:27 -05:00
inputs.flake-utils.url = "github:numtide/flake-utils";
2021-12-31 13:42:10 -05:00
outputs = {self, nixpkgs, flake-utils, gitignore}:
2021-12-31 13:30:27 -05:00
let
kitchenGen = import ./kitchen.nix;
in
flake-utils.lib.eachDefaultSystem (system:
let pkgs = import nixpkgs { inherit system; }; in
{
defaultPackage = (kitchenGen {
nixpkgs = pkgs;
2021-12-31 13:45:11 -05:00
gitignoreSrc = pkgs.callPackage gitignore { };
2021-12-31 13:30:27 -05:00
});
}
);
}