From 2bbdcd73b9a464f8acf45a7100feb979883ba485 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Heredia=20Montiel?= Date: Mon, 30 Sep 2024 18:51:33 -0600 Subject: [PATCH] overlay: fix bug where prev should have been final (cherry picked from commit 81d9ff97c93289bb1592ae702d11173724a643fa) --- overlay.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlay.nix b/overlay.nix index 821cd33..f1536bf 100644 --- a/overlay.nix +++ b/overlay.nix @@ -73,7 +73,7 @@ let inputs = prev.${name}.buildInputs ++ prev.${name}.nativeBuildInputs; nixDependency = lib.findFirst (drv: (drv.pname or "") == "nix") - prev.nixVersions.stable_upstream # default to stable nix if nix is not an input + final.nixVersions.stable_upstream # default to stable nix if nix is not an input inputs; nixMajor = lib.versions.major (nixDependency.version or ""); nixMinor = lib.versions.minor (nixDependency.version or "");