Skip to content

Commit

Permalink
pkgs/hactoolnet: disable parallel builds due to .net bug
Browse files Browse the repository at this point in the history
  • Loading branch information
leo60228 committed Nov 28, 2024
1 parent f7991ae commit 1151fcd
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 75 deletions.
8 changes: 5 additions & 3 deletions pkgs/hactoolnet/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

buildDotnetModule rec {
pname = "hactoolnet";
version = "unstable-2024-06-16";
version = "unstable-2024-08-27";

src = fetchFromGitHub {
owner = "Thealexbarney";
repo = "LibHac";
rev = "559b8c89f9ba2913f5e8e6630ecb2c21c13dcd31";
sha256 = "m8NNsfnQNFLuPHunKMw2k0avbkH5/p/+Ucx/nwU7JPQ=";
rev = "fefa38ff2204de978efdf9df1ff193d85d4d83e5";
sha256 = "m+aHMNz0C77dJpukvkNTlTYBlUAkmJxGSB27UuNTGVc=";
};

projectFile = "LibHac.sln";
Expand All @@ -22,6 +22,8 @@ buildDotnetModule rec {
dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.runtime_8_0;

enableParallelBuilding = false; # https://github.com/dotnet/sdk/issues/2902

executables = [ "hactoolnet" ];

packNupkg = true;
Expand Down
87 changes: 15 additions & 72 deletions pkgs/hactoolnet/deps.nix
Original file line number Diff line number Diff line change
@@ -1,76 +1,19 @@
# This file was automatically generated by passthru.fetch-deps.
# Please dont edit it manually, your changes might get overwritten!

{ fetchNuGet }:
[
(fetchNuGet {
pname = "JetBrains.Annotations";
version = "2023.3.0";
sha256 = "0vp4mpn6gfckn8grzjm1jxlbqiq2fglm2rk9wq787adw7rxs8k7w";
})
(fetchNuGet {
pname = "Microsoft.CodeCoverage";
version = "17.9.0";
sha256 = "1gljgi69k0fz8vy8bn6xlyxabj6q4vls2zza9wz7ng6ix3irm89r";
})
(fetchNuGet {
pname = "Microsoft.NET.Test.Sdk";
version = "17.9.0";
sha256 = "1lls1fly2gr1n9n1xyl9k33l2v4pwfmylyzkq8v4v5ldnwkl1zdb";
})
(fetchNuGet {
pname = "Microsoft.TestPlatform.ObjectModel";
version = "17.9.0";
sha256 = "1kgsl9w9fganbm9wvlkqgk0ag9hfi58z88rkfybc6kvg78bx89ca";
})
(fetchNuGet {
pname = "Microsoft.TestPlatform.TestHost";
version = "17.9.0";
sha256 = "19ffh31a1jxzn8j69m1vnk5hyfz3dbxmflq77b8x82zybiilh5nl";
})
(fetchNuGet {
pname = "Newtonsoft.Json";
version = "13.0.1";
sha256 = "0fijg0w6iwap8gvzyjnndds0q4b8anwxxvik7y8vgq97dram4srb";
})
(fetchNuGet {
pname = "System.Reflection.Metadata";
version = "1.6.0";
sha256 = "1wdbavrrkajy7qbdblpbpbalbdl48q3h34cchz24gvdgyrlf15r4";
})
(fetchNuGet {
pname = "xunit.abstractions";
version = "2.0.3";
sha256 = "00wl8qksgkxld76fgir3ycc5rjqv1sqds6x8yx40927q5py74gfh";
})
(fetchNuGet {
pname = "xunit.analyzers";
version = "1.13.0";
sha256 = "0p9b0b6c9n17ijx8wawzdxf76s6la2y3vrgq6hkrjx4cvx3hdirb";
})
(fetchNuGet {
pname = "xunit.assert.source";
version = "2.8.0";
sha256 = "0m1zqb338lfm8ilsm2vdspdhl304wpgwi9zr20d2598mh9y27924";
})
(fetchNuGet {
pname = "xunit.core";
version = "2.8.0";
sha256 = "1pnz907fxh8dk529dy0myphv1ahimbqss0lr989nn477yybwsccz";
})
(fetchNuGet {
pname = "xunit.extensibility.core";
version = "2.8.0";
sha256 = "1xm8ixvw0vba4npvyzixsqz4f2lnlsw8mz8pvc1zm5f8l30p57nj";
})
(fetchNuGet {
pname = "xunit.extensibility.execution";
version = "2.8.0";
sha256 = "0p9qphkqxizzcknsn0p0b6m27ycg5zklzsc2z08pr7bcjp46xxr3";
})
(fetchNuGet {
pname = "xunit.runner.visualstudio";
version = "2.8.0";
sha256 = "0rvpv809a0lz2vkw9zicqz6m95h4kkjm4fplh3jfyc7kxl8cm755";
})
{ fetchNuGet }: [
(fetchNuGet { pname = "JetBrains.Annotations"; version = "2023.3.0"; hash = "sha256-/Eykez68qYMO5mlmUelzAke8aJehyp8fspO5Z+yt5G4="; })
(fetchNuGet { pname = "Microsoft.CodeCoverage"; version = "17.9.0"; hash = "sha256-OaGa4+jRPHs+T+p/oekm2Miluqfd2IX8Rt+BmUx8kr4="; })
(fetchNuGet { pname = "Microsoft.NET.Test.Sdk"; version = "17.9.0"; hash = "sha256-q/1AJ7eNlk02wvN76qvjl2xBx5iJ+h5ssiE/4akLmtI="; })
(fetchNuGet { pname = "Microsoft.TestPlatform.ObjectModel"; version = "17.9.0"; hash = "sha256-iiXUFzpvT8OWdzMj9FGJDqanwHx40s1TXVY9l3ii+s0="; })
(fetchNuGet { pname = "Microsoft.TestPlatform.TestHost"; version = "17.9.0"; hash = "sha256-1BZIY1z+C9TROgdTV/tq4zsPy7Q71GQksr/LoMKAzqU="; })
(fetchNuGet { pname = "Newtonsoft.Json"; version = "13.0.1"; hash = "sha256-K2tSVW4n4beRPzPu3rlVaBEMdGvWSv/3Q1fxaDh4Mjo="; })
(fetchNuGet { pname = "System.Reflection.Metadata"; version = "1.6.0"; hash = "sha256-JJfgaPav7UfEh4yRAQdGhLZF1brr0tUWPl6qmfNWq/E="; })
(fetchNuGet { pname = "xunit.abstractions"; version = "2.0.3"; hash = "sha256-0D1y/C34iARI96gb3bAOG8tcGPMjx+fMabTPpydGlAM="; })
(fetchNuGet { pname = "xunit.analyzers"; version = "1.13.0"; hash = "sha256-K8cGR9+MdJknNPjlPbxQ1GhzXG+fK466jCfYxMwCK10="; })
(fetchNuGet { pname = "xunit.assert.source"; version = "2.8.0"; hash = "sha256-RKQjfIIVpSIaEPmnyN/lBAwK29Vti6ppRNVRNMbCP1Q="; })
(fetchNuGet { pname = "xunit.core"; version = "2.8.0"; hash = "sha256-nzHNl/fnEGsTSpkCrfGqEaqw4fUV+JZEmQ3B7g5I394="; })
(fetchNuGet { pname = "xunit.extensibility.core"; version = "2.8.0"; hash = "sha256-0p5ywaDIlfoD2xf9irimlgpHPtY9fr+vJWptwHePqPY="; })
(fetchNuGet { pname = "xunit.extensibility.execution"; version = "2.8.0"; hash = "sha256-I/duyJVsnXwR+ILpT+cvj/kjqlngAqvtZP/Hjie8OF0="; })
(fetchNuGet { pname = "xunit.runner.visualstudio"; version = "2.8.0"; hash = "sha256-pZzKEO3zMO/kgPQ6UuWcBJZUzccs/sTnFp8ClQDad2c="; })
]

0 comments on commit 1151fcd

Please sign in to comment.