Skip to content

Commit

Permalink
dotnet: fix packages that fail to build with strictDeps (#362420)
Browse files Browse the repository at this point in the history
  • Loading branch information
layus authored Dec 6, 2024
2 parents 938d142 + 122f86c commit 4a62c98
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkgs/by-name/da/dafny/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ buildDotnetModule rec {
'';

dotnet-sdk = dotnetCorePackages.sdk_6_0;
buildInputs = [ jdk11 ];
nativeBuildInputs = [ jdk11 ];
nugetDeps = ./deps.nix;

# Build just these projects. Building Source/Dafny.sln includes a bunch of
Expand Down
9 changes: 8 additions & 1 deletion pkgs/by-name/gi/github-runner/package.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
bash,
buildDotnetModule,
coreutils,
darwin,
dotnetCorePackages,
fetchFromGitHub,
Expand Down Expand Up @@ -111,12 +113,17 @@ buildDotnetModule rec {
[
which
git
# needed for `uname`
coreutils
]
++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [
darwin.autoSignDarwinBinariesHook
];

buildInputs = [ (lib.getLib stdenv.cc.cc) ];
buildInputs = [
(lib.getLib stdenv.cc.cc)
bash
];

dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.runtime_8_0;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/ta/tagger/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ buildDotnetModule rec {

nativeBuildInputs = [
blueprint-compiler
libadwaita
];

buildInputs = [
chromaprint
libadwaita
];

runtimeDeps = [
Expand Down

0 comments on commit 4a62c98

Please sign in to comment.