bump nix version

This commit is contained in:
chayleaf 2024-11-27 15:37:41 +07:00
parent e789ee1cb3
commit 79f4a6b907
Signed by: chayleaf
GPG key ID: 78171AD46227E68E

View file

@ -1,7 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
let let
unpatchedNixForNixPlugins = pkgs.nixVersions.nix_2_18; unpatchedNixForNixPlugins = pkgs.nixVersions.nix_2_24;
nixForNixPlugins = unpatchedNixForNixPlugins.overrideAttrs (old: { nixForNixPlugins = unpatchedNixForNixPlugins.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [ ./rename-nix-plugin-files.patch ]; patches = (old.patches or [ ]) ++ [ ./rename-nix-plugin-files.patch ];
# some tests fail on bcachefs due to insufficient permissions # some tests fail on bcachefs due to insufficient permissions
@ -20,9 +20,9 @@ in {
}) })
]; ];
});*/ });*/
hydra_unstable = (pkgs.hydra_unstable.override { hydra = (pkgs.hydra.override {
nix = nixForNixPlugins; nix = nixForNixPlugins;
}).overrideAttrs (old: { })/*.overrideAttrs (old: {
version = "2023-12-01"; version = "2023-12-01";
# who cares about tests amirite # who cares about tests amirite
doCheck = false; doCheck = false;
@ -30,5 +30,5 @@ in {
rev = "4d1c8505120961f10897b8fe9a070d4e193c9a13"; rev = "4d1c8505120961f10897b8fe9a070d4e193c9a13";
hash = "sha256-vXTuE83GL15mgZHegbllVAsVdDFcWWSayPfZxTJN5ys="; hash = "sha256-vXTuE83GL15mgZHegbllVAsVdDFcWWSayPfZxTJN5ys=";
}; };
}); })*/;
} }