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

This commit is contained in:
Guy Chronister
2026-03-23 20:14:07 -05:00
parent 92d057c90e
commit 57c9bf43e2
10 changed files with 42 additions and 26 deletions
+7
View File
@@ -0,0 +1,7 @@
{
grub2,
}:
grub2.override {
efiSupport = true;
}
@@ -0,0 +1,7 @@
{
grub2,
}:
grub2.override {
ieee1275Support = true;
}
+7
View File
@@ -0,0 +1,7 @@
{
grub2,
}:
grub2.override {
zfsSupport = false;
}
@@ -0,0 +1,7 @@
{
grub2_pvhgrub_image,
}:
grub2_pvhgrub_image.override {
grubPlatform = "xen";
}
+7
View File
@@ -0,0 +1,7 @@
{
grub2,
}:
grub2.override {
xenSupport = true;
}
@@ -0,0 +1,7 @@
{
grub2,
}:
grub2.override {
xenPvhSupport = true;
}
-26
View File
@@ -2518,32 +2518,6 @@ 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;