mldonkey: remove byte code support
nativeCompilers is only false in very rare cases (only on mips), so it's really hard to test and maintain this code path. If someone else is able to do that, they should readd this feature.
This commit is contained in:
parent
88dbd594c8
commit
19916afe1d
|
@ -1,6 +1,6 @@
|
|||
{ lib, stdenv, fetchurl, ocamlPackages, zlib }:
|
||||
|
||||
stdenv.mkDerivation (rec {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mldonkey";
|
||||
version = "3.1.7-2";
|
||||
|
||||
|
@ -28,15 +28,4 @@ stdenv.mkDerivation (rec {
|
|||
license = lib.licenses.gpl2Only;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
} // (if !ocamlPackages.ocaml.nativeCompilers then
|
||||
{
|
||||
# Byte code compilation (the ocaml opt compiler is not supported in some platforms)
|
||||
buildPhase = "make mlnet.byte";
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp mlnet.byte $out/bin/mlnet
|
||||
'';
|
||||
|
||||
# ocaml bytecode selfcontained binaries loose the bytecode if stripped
|
||||
dontStrip = true;
|
||||
} else {}))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue