From cb5fbc10413420a9b98072502731b7c76c9d6299 Mon Sep 17 00:00:00 2001 From: Chip Bilbrey Date: Thu, 26 Dec 2024 16:08:22 -0800 Subject: [PATCH] Re-add nix-compat flake input Its entry in flake.lock is required for shell.nix to operate as it's been written. Hash values are restored to where they last existed. --- flake.lock | 17 +++++++++++++++++ flake.nix | 6 ++++++ 2 files changed, 23 insertions(+) diff --git a/flake.lock b/flake.lock index f517f07e4..bf678156b 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,21 @@ { "nodes": { + "flake-compat": { + "flake": false, + "locked": { + "lastModified": 1696426674, + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, "flake-utils": { "inputs": { "systems": "systems" @@ -52,6 +68,7 @@ }, "root": { "inputs": { + "flake-compat": "flake-compat", "nixpkgs-stable": "nixpkgs-stable", "nixpkgs-unstable": "nixpkgs-unstable", "zig": "zig" diff --git a/flake.nix b/flake.nix index d52f96d72..e17fffed3 100644 --- a/flake.nix +++ b/flake.nix @@ -9,6 +9,12 @@ # system glibc that the user is building for. nixpkgs-stable.url = "github:nixos/nixpkgs/release-24.11"; + # Used for shell.nix + flake-compat = { + url = "github:edolstra/flake-compat"; + flake = false; + }; + zig = { url = "github:mitchellh/zig-overlay"; inputs = {