diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-04-26 21:07:47 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2021-04-28 08:06:41 +0200 |
commit | 19916afe1d3f68fe9d35637c84b9363ef2493f1b (patch) | |
tree | 1d8fe09bd3f49c8faab7db3fe91bda5db55e7ca7 | |
parent | 88dbd594c84e4b45e45736111d384379890e393b (diff) |
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.
-rw-r--r-- | pkgs/applications/networking/p2p/mldonkey/default.nix | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/pkgs/applications/networking/p2p/mldonkey/default.nix b/pkgs/applications/networking/p2p/mldonkey/default.nix index 10eafcc7ffab1..41b8a7d0b6c2e 100644 --- a/pkgs/applications/networking/p2p/mldonkey/default.nix +++ b/pkgs/applications/networking/p2p/mldonkey/default.nix @@ -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 {})) +} |