summary refs log tree commit diff
path: root/pkgs/development/compilers/dotnet/build-dotnet.nix
diff options
context:
space:
mode:
authorDavid McFarland <corngood@gmail.com>2022-10-03 11:13:17 -0300
committerDavid McFarland <corngood@gmail.com>2022-12-19 15:36:25 -0400
commit3fdb6c5a9010690eb4c2676dcc40693094de590d (patch)
treecb4963ea37236959ca3c8e11fbef6e861ddd23b7 /pkgs/development/compilers/dotnet/build-dotnet.nix
parentd38c3c84845cc9faef97e7f68f488bffa4f34ee1 (diff)
downloadnixpkgs-3fdb6c5a9010690eb4c2676dcc40693094de590d.tar
nixpkgs-3fdb6c5a9010690eb4c2676dcc40693094de590d.tar.gz
nixpkgs-3fdb6c5a9010690eb4c2676dcc40693094de590d.tar.bz2
nixpkgs-3fdb6c5a9010690eb4c2676dcc40693094de590d.tar.lz
nixpkgs-3fdb6c5a9010690eb4c2676dcc40693094de590d.tar.xz
nixpkgs-3fdb6c5a9010690eb4c2676dcc40693094de590d.tar.zst
nixpkgs-3fdb6c5a9010690eb4c2676dcc40693094de590d.zip
dotnetCorePackages: move systemToDotnetRid out of sdk
Diffstat (limited to 'pkgs/development/compilers/dotnet/build-dotnet.nix')
-rw-r--r--pkgs/development/compilers/dotnet/build-dotnet.nix10
1 files changed, 0 insertions, 10 deletions
diff --git a/pkgs/development/compilers/dotnet/build-dotnet.nix b/pkgs/development/compilers/dotnet/build-dotnet.nix
index e25a8a1464f..308bd64dc7f 100644
--- a/pkgs/development/compilers/dotnet/build-dotnet.nix
+++ b/pkgs/development/compilers/dotnet/build-dotnet.nix
@@ -122,13 +122,6 @@ stdenv.mkDerivation (finalAttrs: rec {
   passthru = rec {
     inherit icu packages;
 
-    runtimeIdentifierMap = {
-      "x86_64-linux" = "linux-x64";
-      "aarch64-linux" = "linux-arm64";
-      "x86_64-darwin" = "osx-x64";
-      "aarch64-darwin" = "osx-arm64";
-    };
-
     updateScript =
       if type == "sdk" then
       let
@@ -141,9 +134,6 @@ stdenv.mkDerivation (finalAttrs: rec {
         exec ${./update.sh} "${majorVersion}"
       '' else null;
 
-    # Convert a "stdenv.hostPlatform.system" to a dotnet RID
-    systemToDotnetRid = system: runtimeIdentifierMap.${system} or (throw "unsupported platform ${system}");
-
     tests = {
       version = testers.testVersion {
         package = finalAttrs.finalPackage;