From e17d996ba22f681cd3cd75f33d1bee4ef240fcaf Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Thu, 3 Mar 2022 17:07:15 -0500 Subject: [PATCH] Add flake-compat as an input for our flake.nix --- flake.lock | 17 +++++++++++++++++ flake.nix | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/flake.lock b/flake.lock index 2dd96c4..73296df 100644 --- a/flake.lock +++ b/flake.lock @@ -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", diff --git a/flake.nix b/flake.nix index b1b1abb..cf166aa 100644 --- a/flake.nix +++ b/flake.nix @@ -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);