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
This commit is contained in:
@@ -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";
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user