Skip to content

Commit 0851332

Browse files
authored
dotnet: remove nuget-package-hook from runtime packages (#343978)
2 parents 32cc042 + 1b32f1b commit 0851332

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkgs/development/compilers/dotnet/common.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
});
3636

3737
propagatedBuildInputs =
38-
(args.propagatedBuildInputs or [])
39-
++ [ nugetPackageHook ];
38+
(args.propagatedBuildInputs or [ ])
39+
++ lib.optional (type == "sdk") nugetPackageHook;
4040

4141
nativeBuildInputs = (args.nativeBuildInputs or []) ++ [ installShellFiles ];
4242

0 commit comments

Comments
 (0)