Commit 3f44f983 authored by Jamie Magee's avatar Jamie Magee
Browse files

mono4: remove

parent b77a7a4f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@

- The minimum version of Nix required to evaluate Nixpkgs has been raised from 2.3 to 2.18.

- `mono5` has been removed. Use `mono6` or `mono` instead.
- `mono4` and `mono5` have been removed. Use `mono6` or `mono` instead.

- The `offrss` package was removed due to lack of upstream maintenance since 2012. It's recommended for users to migrate to another RSS reader

+0 −23
Original line number Diff line number Diff line
{
  callPackage,
  stdenv,
  lib,
  fetchurl,
}:

callPackage ./generic.nix rec {
  version = "4.8.1.0";
  enableParallelBuilding = false; # #32386, https://hydra.nixos.org/build/65600645
  extraPatches = lib.optionals stdenv.hostPlatform.isLinux [ ./mono4-glibc.patch ];
  env.NIX_CFLAGS_COMPILE = toString [
    "-Wno-error=implicit-function-declaration"
    "-Wno-error=implicit-int"
    "-Wno-error=incompatible-pointer-types"
    "-Wno-error=int-conversion"
    "-Wno-error=return-mismatch"
  ];
  src = fetchurl {
    url = "https://download.mono-project.com/sources/mono/mono-${version}.tar.bz2";
    sha256 = "1vyvp2g28ihcgxgxr8nhzyzdmzicsh5djzk8dk1hj5p5f2k3ijqq";
  };
}
+0 −12
Original line number Diff line number Diff line
diff --git a/mono/io-layer/processes.c b/mono/io-layer/processes.c
index 53c271a4..84bd3252 100644
--- a/mono/io-layer/processes.c
+++ b/mono/io-layer/processes.c
@@ -19,6 +19,7 @@
 #include <errno.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <sys/sysmacros.h>
 #include <unistd.h>
 #ifdef HAVE_SIGNAL_H
 #include <signal.h>
+1 −0
Original line number Diff line number Diff line
@@ -1564,6 +1564,7 @@ mapAliases {
  mod_pkcs12 = throw "'mod_pkcs12' has been renamed to/replaced by 'apacheHttpdPackages.mod_pkcs12'"; # Converted to throw 2024-10-17
  mod_timestamp = throw "'mod_timestamp' has been renamed to/replaced by 'apacheHttpdPackages.mod_timestamp'"; # Converted to throw 2024-10-17
  mono-addins = throw "mono-addins has been removed due to its dependency on the removed mono4. Consider alternative frameworks or migrate to newer .NET technologies."; # Added 2025-08-25
  mono4 = mono6; # Added 2025-08-25
  mono5 = mono6; # Added 2025-08-25
  monero = throw "'monero' has been renamed to/replaced by 'monero-cli'"; # Converted to throw 2024-10-17
  mongodb-4_4 = throw "mongodb-4_4 has been removed, it's end of life since April 2024"; # Added 2024-04-11
+0 −2
Original line number Diff line number Diff line
@@ -5572,8 +5572,6 @@ with pkgs;

  mono = mono6;

  mono4 = lowPrio (callPackage ../development/compilers/mono/4.nix { });

  mono6 = callPackage ../development/compilers/mono/6.nix { };

  mozart2 = callPackage ../development/compilers/mozart {