1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 19:08:30 +00:00
nixpkgs/pkgs/development/compilers/dev86/default.nix

28 lines
665 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "dev86-0.16.19";
src = fetchurl {
url = http://www.debath.co.uk/dev86/Dev86src-0.16.19.tar.gz;
sha256 = "33398b87ca85e2b69e4062cf59f2f7354af46da5edcba036c6f97bae17b8d00e";
};
2016-01-23 21:19:59 +00:00
hardening_format = false;
2015-12-23 01:59:47 +00:00
makeFlags = "PREFIX=$(out)";
# Awful hackery to get dev86 to compile with recent gcc/binutils.
# See http://bugs.gentoo.org/214964 for some inconclusive
# discussion.
preBuild =
''
substituteInPlace makefile.in --replace "-O2" "" --replace "-O" ""
'';
meta = {
description = "Linux 8086 development environment";
homepage = http://www.debath.co.uk/;
};
}