grub4dos: remove broken package

grub4dos has been marked broken since NixOS 24.05 and remains unfixed.
Per RFC 180, packages broken for a full release cycle are subject
to removal.

https://github.com/NixOS/rfcs/pull/180
This commit is contained in:
Jörg Thalheim
2026-02-05 14:35:20 +01:00
parent 1590e21719
commit b67ec7338c
3 changed files with 1 additions and 60 deletions
-56
View File
@@ -1,56 +0,0 @@
{
lib,
stdenv,
fetchFromGitHub,
nasm,
}:
let
arch =
if stdenv.hostPlatform.isi686 then
"i386"
else if stdenv.hostPlatform.isx86_64 then
"x86_64"
else
throw "Unknown architecture";
in
stdenv.mkDerivation {
pname = "grub4dos";
version = "0.4.6a-2019-05-12";
src = fetchFromGitHub {
owner = "chenall";
repo = "grub4dos";
rev = "e8224a2d20760139ffaeafa07838e2c3c54de783";
sha256 = "0i7n71za43qnlsxfvjrv1z5g1w5jl9snpbnas7rw97rry7cgyswf";
};
nativeBuildInputs = [ nasm ];
hardeningDisable = [ "stackprotector" ];
configureFlags = [ "--host=${arch}-pc-linux-gnu" ];
postInstall = ''
mv $out/lib/grub/${arch}-pc/* $out/lib/grub
rmdir $out/lib/grub/${arch}-pc
chmod +x $out/lib/grub/bootlace.com
'';
dontStrip = true;
dontPatchELF = true;
# make[2]: *** No rule to make target 'pre_stage2_fullsize', needed by 'all-am'. Stop.
enableParallelBuilding = false;
meta = {
homepage = "http://grub4dos.chenall.net/";
description = "GRUB for DOS is the dos extension of GRUB";
maintainers = [ ];
platforms = lib.platforms.linux;
license = lib.licenses.gpl2Plus;
# Needs a port to modern binutils:
# https://github.com/chenall/grub4dos/issues/160
broken = true;
};
}
+1
View File
@@ -823,6 +823,7 @@ mapAliases {
graphite-kde-theme = throw "'graphite-kde-theme' has been removed, as it is only compatible with Plasma 5, which is EOL"; # Added 2025-08-20
gringo = throw "'gringo' has been renamed to/replaced by 'clingo'"; # Converted to throw 2025-10-27
grub2_full = throw "'grub2_full' has been renamed to/replaced by 'grub2'"; # Converted to throw 2025-10-27
grub4dos = throw "'grub4dos' has been removed due to being broken for more than a year; see RFC 180"; # Added 2026-02-05
gscrabble = throw "'gscrabble' has been removed, as it is unmaintained upstream, and broken in nixpkgs"; # Added 2026-01-03
gsettings-qt = lomiri.gsettings-qt; # Added 2025-12-06
gtkcord4 = throw "'gtkcord4' has been renamed to/replaced by 'dissent'"; # Converted to throw 2025-10-27
-4
View File
@@ -2601,10 +2601,6 @@ with pkgs;
grubPlatform = "xen";
};
grub4dos = callPackage ../tools/misc/grub4dos {
stdenv = stdenv_32bit;
};
gruut = with python3.pkgs; toPythonApplication gruut;
gruut-ipa = with python3.pkgs; toPythonApplication gruut-ipa;