From 81d9ff97c93289bb1592ae702d11173724a643fa 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 --- overlay.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlay.nix b/overlay.nix index fe34019..3c37b9e 100644 --- a/overlay.nix +++ b/overlay.nix @@ -74,7 +74,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 ""); -- 2.44.1