gobject-introspection: inherit meta in the wrapper

meta isn't in drvAttrs because its a "passthru" attribute
This commit is contained in:
Artturin 2022-11-21 19:50:48 +02:00
parent debe1b93c9
commit 3fda065c6a

View file

@ -33,6 +33,8 @@ then
stdenv.mkDerivation
(builtins.removeAttrs overridenUnwrappedGir.drvAttrs [ "name" ] # so we can get a fresh name generated from the pname
// {
inherit (overridenUnwrappedGir) meta;
pname = "gobject-introspection-wrapped";
passthru = overridenUnwrappedGir.passthru // {
unwrapped = overridenUnwrappedGir;
@ -88,6 +90,7 @@ then
else
stdenv.mkDerivation (builtins.removeAttrs overridenUnwrappedGir.drvAttrs [ "name" ] # so we can get a fresh name generated from the pname
// {
inherit (overridenUnwrappedGir) meta;
pname = "gobject-introspection-wrapped";
passthru = overridenUnwrappedGir.passthru // {
unwrapped = overridenUnwrappedGir;