Skip to content

Instantly share code, notes, and snippets.

@cdegroot
Created March 27, 2021 01:51
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save cdegroot/faea0f01e3df7267f5c26308db53459a to your computer and use it in GitHub Desktop.
nonguix dotnet 5.0 -> dotnet core 3.1 patch
diff --git a/nongnu/packages/dotnet.scm b/nongnu/packages/dotnet.scm
index fa4c815..54e748f 100644
--- a/nongnu/packages/dotnet.scm
+++ b/nongnu/packages/dotnet.scm
@@ -81,11 +81,11 @@ Roslyn workspaces. It provides project dependencies and C# language services to
various IDEs and plugins.")
(license license:expat)))
-(define-public dotnet
- (let ((dotnet-sdk-version "5.0.4"))
+(define-public dotnet-core-3.1
+ (let ((dotnet-sdk-version "3.1.13"))
(package
(name "dotnet")
- (version "5.0.201")
+ (version "3.1.113")
(source
(origin
(method url-fetch/tarbomb)
@@ -95,23 +95,23 @@ various IDEs and plugins.")
version "-linux-x64.tar.gz"))
(sha256
(base32
- "0hdkwz39ql7madg5dzy50by6q4vyagpwjvjn34ks730yhf3p1xwz"))))
+ "0dm4kxpq235yfxzf41m1iyfg5avlxdic0nwr865g5wyzc6kz9nhw"))))
(build-system binary-build-system)
(arguments
`(#:patchelf-plan
`(("dotnet"
- ("gcc:lib" "zlib"))
+ ("glibc" "gcc:lib" "zlib"))
(,,(string-append "shared/Microsoft.NETCore.App/"
dotnet-sdk-version
- "/libSystem.Net.Security.Native.so")
+ "/System.Net.Security.Native.so")
("mit-krb5"))
(,,(string-append "shared/Microsoft.NETCore.App/"
dotnet-sdk-version
- "/libSystem.Security.Cryptography.Native.OpenSsl.so")
+ "/System.Security.Cryptography.Native.OpenSsl.so")
("openssl"))
(,,(string-append "shared/Microsoft.NETCore.App/"
dotnet-sdk-version
- "/libSystem.IO.Compression.Native.so")
+ "/System.IO.Compression.Native.so")
("zlib"))
(,,(string-append "shared/Microsoft.NETCore.App/"
dotnet-sdk-version
@@ -138,10 +138,6 @@ various IDEs and plugins.")
(,,(string-append "shared/Microsoft.NETCore.App/"
dotnet-sdk-version "/libmscordbi.so")
("gcc:lib"))
- (,,(string-append "packs/Microsoft.NETCore.App.Host.linux-x64/"
- dotnet-sdk-version
- "/runtimes/linux-x64/native/singlefilehost")
- ("gcc:lib" "openssl" "mit-krb5" "zlib" "icu4c"))
(,,(string-append "packs/Microsoft.NETCore.App.Host.linux-x64/"
dotnet-sdk-version
"/runtimes/linux-x64/native/apphost")
@@ -180,6 +176,7 @@ various IDEs and plugins.")
(files '("share/dotnet")))))
(inputs
`(("gcc:lib" ,gcc "lib")
+ ("glibc", glibc)
("icu4c" ,icu4c)
("lttng-ust" ,lttng-ust)
("mit-krb5" ,mit-krb5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment