Skip to content

Commit

Permalink
dotnet/wrapper: don't inherit meta from unwrapped
Browse files Browse the repository at this point in the history
  • Loading branch information
corngood committed Dec 10, 2024
1 parent f3f887a commit 6e180e8
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion pkgs/development/compilers/dotnet/wrapper.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,18 @@
type: unwrapped:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "${unwrapped.pname}-wrapped";
inherit (unwrapped) version meta;
inherit (unwrapped) version;

meta = {
description = "${unwrapped.meta.description or "dotnet"} (wrapper)";
mainProgram = "dotnet";
inherit (unwrapped.meta)
homepage
license
maintainers
platforms
;
};

src = unwrapped;
dontUnpack = true;
Expand Down

0 comments on commit 6e180e8

Please sign in to comment.