Revert "grub2,grub2_{efi,ieee1275,light,pvgrub_image,xen,xen_pvh}: migrate to by-name"

This commit is contained in:
K900
2026-03-25 09:50:09 +03:00
committed by GitHub
parent d283870720
commit 2929b242b3
10 changed files with 26 additions and 42 deletions
-7
View File
@@ -1,7 +0,0 @@
{
grub2,
}:
grub2.override {
efiSupport = true;
}
@@ -1,7 +0,0 @@
{
grub2,
}:
grub2.override {
ieee1275Support = true;
}
-7
View File
@@ -1,7 +0,0 @@
{
grub2,
}:
grub2.override {
zfsSupport = false;
}
@@ -1,7 +0,0 @@
{
grub2_pvhgrub_image,
}:
grub2_pvhgrub_image.override {
grubPlatform = "xen";
}
-7
View File
@@ -1,7 +0,0 @@
{
grub2,
}:
grub2.override {
xenSupport = true;
}
@@ -1,7 +0,0 @@
{
grub2,
}:
grub2.override {
xenPvhSupport = true;
}
+26
View File
@@ -2520,6 +2520,32 @@ with pkgs;
withXorg = false;
};
grub2 = callPackage ../tools/misc/grub/default.nix { };
grub2_efi = grub2.override {
efiSupport = true;
};
grub2_ieee1275 = grub2.override {
ieee1275Support = true;
};
grub2_light = grub2.override {
zfsSupport = false;
};
grub2_xen = grub2.override {
xenSupport = true;
};
grub2_xen_pvh = grub2.override {
xenPvhSupport = true;
};
grub2_pvgrub_image = grub2_pvhgrub_image.override {
grubPlatform = "xen";
};
gruut = with python3.pkgs; toPythonApplication gruut;
gruut-ipa = with python3.pkgs; toPythonApplication gruut-ipa;