From b465f1a92f9019c2fc8cd26eb10804659848860c Mon Sep 17 00:00:00 2001 From: Rick van Schijndel Date: Thu, 19 May 2022 21:24:39 +0200 Subject: [PATCH] alttpr-opentracker: only enable on x86_64-linux It was failing to build on aarch64-linux with: Executing dotnetConfigureHook Determining projects to restore... Restored /build/source/OpenTracker.UnitTests/OpenTracker.UnitTests.csproj (in 35.07 sec). Restored /build/source/OpenTracker.Models/OpenTracker.Models.csproj (in 520 ms). Restored /build/source/OpenTracker.Utils/OpenTracker.Utils.csproj (in 48 ms). /build/source/OpenTracker/OpenTracker.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Host.linux-arm64. No packages exist with this id in source(s): /nix/store/x82zwgmqdbp4xykx1nkrjin8hicm8jld-opentracker-1.8.2-nuget-source/lib [/build/source/OpenTracker.sln] Failed to restore /build/source/OpenTracker/OpenTracker.csproj (in 12.45 sec). Restored /build/source/Avalonia.ThemeManager/Avalonia.ThemeManager.csproj (in 56 ms). --- pkgs/tools/games/opentracker/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/games/opentracker/default.nix b/pkgs/tools/games/opentracker/default.nix index c6e3987b81c8..a184aa381a5f 100644 --- a/pkgs/tools/games/opentracker/default.nix +++ b/pkgs/tools/games/opentracker/default.nix @@ -60,6 +60,6 @@ buildDotnetModule rec { license = licenses.mit; maintainers = [ maintainers.ivar ]; mainProgram = "OpenTracker"; - platforms = platforms.linux; + platforms = [ "x86_64-linux" ]; }; }