mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
coreclr: remove from nixpkgs
has been broken for a year and half
This commit is contained in:
parent
4089616143
commit
830c576ad4
@ -1,100 +0,0 @@
|
||||
{ config, lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, which
|
||||
, cmake
|
||||
, llvmPackages
|
||||
, libunwind
|
||||
, gettext
|
||||
, openssl
|
||||
, python2
|
||||
, icu
|
||||
, lttng-ust
|
||||
, liburcu
|
||||
, libuuid
|
||||
, libkrb5
|
||||
, debug ? config.coreclr.debug or false
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "coreclr";
|
||||
version = "2.0.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dotnet";
|
||||
repo = "coreclr";
|
||||
rev = "v${version}";
|
||||
sha256 = "0pzkrfgqywhpijbx7j1v4lxa6270h6whymb64jdkp7yj56ipqh2n";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# glibc 2.26
|
||||
url = "https://github.com/dotnet/coreclr/commit/a8f83b615708c529b112898e7d2fbc3f618b26ee.patch";
|
||||
sha256 = "047ph5gip4z2h7liwdxsmpnlaq0sd3hliaw4nyqjp647m80g3ffq";
|
||||
})
|
||||
(fetchpatch {
|
||||
# clang 5
|
||||
url = "https://github.com/dotnet/coreclr/commit/9b22e1a767dee38f351001c5601f56d78766a43e.patch";
|
||||
sha256 = "1w1lxw5ryvhq8m5m0kv880c4bh6y9xdgypkr76sqbh3v568yghzg";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
which
|
||||
cmake
|
||||
llvmPackages.clang
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
llvmPackages.llvm
|
||||
llvmPackages.lldb
|
||||
libunwind
|
||||
gettext
|
||||
openssl
|
||||
python2
|
||||
icu
|
||||
lttng-ust
|
||||
liburcu
|
||||
libuuid
|
||||
libkrb5
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
# override to avoid cmake running
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
BuildArch = if stdenv.is64bit then "x64" else "x86";
|
||||
BuildType = if debug then "Debug" else "Release";
|
||||
|
||||
hardeningDisable = [
|
||||
"strictoverflow"
|
||||
"format"
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
# disable -Werror which can potentially breaks with every compiler upgrade
|
||||
./build.sh $BuildArch $BuildType cmakeargs "-DCLR_CMAKE_WARNINGS_ARE_ERRORS=OFF"
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/dotnet $out/bin
|
||||
cp -r bin/Product/Linux.$BuildArch.$BuildType/* $out/share/dotnet
|
||||
for cmd in coreconsole corerun createdump crossgen ilasm ildasm mcs superpmi; do
|
||||
ln -s $out/share/dotnet/$cmd $out/bin/$cmd
|
||||
done
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/dotnet/core/";
|
||||
description = ".NET is a general purpose development platform";
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ kuznero ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
@ -11,7 +11,6 @@
|
||||
, libuuid
|
||||
, dotnetbuildhelpers
|
||||
, dotnetCorePackages
|
||||
, coreclr
|
||||
, openssl
|
||||
}:
|
||||
|
||||
|
@ -188,6 +188,7 @@ mapAliases ({
|
||||
corsmisc = throw "corsmisc has been removed (upstream is gone)"; # Added 2022-01-24
|
||||
couchdb = throw "couchdb was removed from nixpkgs, use couchdb3 instead"; # Added 2021-03-03
|
||||
couchdb2 = throw "couchdb2 was removed from nixpkgs, use couchdb3 instead"; # Added 2021-03-03
|
||||
coreclr = throw "coreclr has been removed from nixpkgs, use dotnet-sdk instead"; # added 2022-06-12
|
||||
cpp-gsl = throw "'cpp-gsl' has been renamed to/replaced by 'microsoft_gsl'"; # Converted to throw 2022-02-22
|
||||
cpp_ethereum = throw "cpp_ethereum has been removed; abandoned upstream"; # Added 2020-11-30
|
||||
cpuminer-multi = throw "cpuminer-multi has been removed: deleted by upstream"; # Added 2022-01-07
|
||||
|
@ -23638,8 +23638,6 @@ with pkgs;
|
||||
|
||||
comixcursors = callPackage ../data/icons/comixcursors {};
|
||||
|
||||
coreclr = callPackage ../development/compilers/coreclr { };
|
||||
|
||||
corefonts = callPackage ../data/fonts/corefonts { };
|
||||
|
||||
courier-prime = callPackage ../data/fonts/courier-prime { };
|
||||
|
Loading…
Reference in New Issue
Block a user