Add flake-compat as an input for our flake.nix

This commit is contained in:
Jeremy Wall 2022-03-03 17:07:15 -05:00
parent 62fc9168fa
commit e17d996ba2
2 changed files with 19 additions and 2 deletions

17
flake.lock generated
View File

@ -1,5 +1,21 @@
{
"nodes": {
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1641205782,
"narHash": "sha256-4jY7RCWUoZ9cKD8co0/4tFARpWB+57+r1bLLvXNJliY=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "b7547d3eed6f32d06102ead8991ec52ab0a4f1a7",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1638122382,
@ -81,6 +97,7 @@
},
"root": {
"inputs": {
"flake-compat": "flake-compat",
"flake-utils": "flake-utils",
"gitignore": "gitignore",
"naersk": "naersk",

View File

@ -6,9 +6,9 @@
gitignore = { url = "github:hercules-ci/gitignore.nix"; flake = false; };
flake-utils.url = "github:numtide/flake-utils";
naersk.url = "github:nix-community/naersk";
flake-compat = { url = github:edolstra/flake-compat; flake = false; };
};
outputs = {self, nixpkgs, flake-utils, naersk, gitignore}:
outputs = {self, nixpkgs, flake-utils, naersk, gitignore, flake-compat}:
let
kitchenGen = (import ./nix/kitchen/default.nix);
trunkGen = (import ./nix/trunk/default.nix);