at 15.09-beta 636 B view raw
1{ stdenv, fetchurl }: 2 3stdenv.mkDerivation { 4 name = "dev86-0.16.19"; 5 6 src = fetchurl { 7 url = http://www.debath.co.uk/dev86/Dev86src-0.16.19.tar.gz; 8 sha256 = "33398b87ca85e2b69e4062cf59f2f7354af46da5edcba036c6f97bae17b8d00e"; 9 }; 10 11 makeFlags = "PREFIX=$(out)"; 12 13 # Awful hackery to get dev86 to compile with recent gcc/binutils. 14 # See http://bugs.gentoo.org/214964 for some inconclusive 15 # discussion. 16 preBuild = 17 '' 18 substituteInPlace makefile.in --replace "-O2" "" --replace "-O" "" 19 ''; 20 21 meta = { 22 description = "Linux 8086 development environment"; 23 homepage = http://www.debath.co.uk/; 24 }; 25}