From 79d6056d26912ba7cb32e611edddd9dc961ffaee Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sat, 30 May 2026 16:51:35 +0200 Subject: [PATCH] flake: import nix_2_18 as path That way we can use it in non-flake contexts down the chain. We don't override the `nixpkgs` anyways since this is a test artifact that needs an old nixpkgs input, so this isn't a concern here anyways. Change-Id: If2aa8f7171a445e8321ef449026e206cc5a0fe3c --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 0911bb9b1..ffd39068f 100644 --- a/flake.nix +++ b/flake.nix @@ -180,7 +180,7 @@ nixVersions = prev.nixVersions // { # Nix 2.18 has been removed from Nixpkgs ≥ 25.05, so we need to reintroduce it ourselves for our tests. nix_2_18 = - nix_2_18.outputs.packages.${currentStdenv.hostPlatform.system}.default.overrideAttrs + (import nix_2_18).packages.${currentStdenv.hostPlatform.system}.default.overrideAttrs (_: { pname = "nix"; });