Skip to content

Commit 051290b

Browse files
committed
hydra: Fix otherNixes.nix_2_3
25.05 has it marked as insecure, but we don't care about it for testing purposes.
1 parent 48b600d commit 051290b

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

tests/nixos/default.nix

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,15 @@ let
7979
{ lib, pkgs, ... }:
8080
{
8181
imports = [ checkOverrideNixVersion ];
82-
nix.package = lib.mkForce pkgs.nixVersions.nix_2_3;
82+
nix.package = lib.mkForce (
83+
pkgs.nixVersions.nix_2_3.overrideAttrs (o: {
84+
meta = o.meta // {
85+
# This version shouldn't be used by end-users, but we run tests against
86+
# it to ensure we don't break protocol compatibility.
87+
knownVulnerabilities = [ ];
88+
};
89+
})
90+
);
8391
};
8492

8593
otherNixes.nix_2_13.setNixPackage =
@@ -90,6 +98,8 @@ let
9098
nixpkgs-23-11.legacyPackages.${pkgs.stdenv.hostPlatform.system}.nixVersions.nix_2_13.overrideAttrs
9199
(o: {
92100
meta = o.meta // {
101+
# This version shouldn't be used by end-users, but we run tests against
102+
# it to ensure we don't break protocol compatibility.
93103
knownVulnerabilities = [ ];
94104
};
95105
})

0 commit comments

Comments
 (0)