memtest86: remove and alias to memtest86plus

Legacy memtest86 was broken since NixOS 16.09
+ we've already been using memtest86+ fork
through 'boot.loader.grub.memtest86.enable'
This commit is contained in:
c0bw3b 2019-05-08 17:10:17 +02:00
parent 4c5dc1fa30
commit e6b2fbeb70
3 changed files with 1 additions and 34 deletions

View file

@ -1,32 +0,0 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "memtest86-4.3.6";
src = fetchurl {
url = https://www.memtest86.com/downloads/memtest86-4.3.6-src.tar.gz;
sha256 = "0qbksyl2hmkm12n7zbmf2m2n3q811skhykxx6a9a7y6r7k8y5qmv";
};
preBuild = ''
# Really dirty hack to get Memtest to build without needing a Glibc
# with 32-bit libraries and headers.
if test "$system" = x86_64-linux; then
mkdir gnu
touch gnu/stubs-32.h
fi
'';
NIX_CFLAGS_COMPILE = "-I.";
installPhase = ''
mkdir -p $out
cp memtest.bin $out/
'';
meta = {
homepage = http://memtest86.com/;
description = "A tool to detect memory errors, to be run from a bootloader";
broken = true;
};
}

View file

@ -181,6 +181,7 @@ mapAliases ({
m3d-linux = m33-linux; # added 2016-08-13
man_db = man-db; # added 2016-05
manpages = man-pages; # added 2015-12-06
memtest86 = memtest86plus; # added 2019-05-08
midoriWrapper = midori; # added 2015-01
mlt-qt5 = libsForQt5.mlt; # added 2015-12-19
mobile_broadband_provider_info = mobile-broadband-provider-info; # added 2018-02-25

View file

@ -4390,8 +4390,6 @@ in
memtier-benchmark = callPackage ../tools/networking/memtier-benchmark { };
memtest86 = callPackage ../tools/misc/memtest86 { };
memtest86-efi = callPackage ../tools/misc/memtest86-efi { };
memtest86plus = callPackage ../tools/misc/memtest86+ { };