mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
gobject-introspection: inherit meta in the wrapper
meta isn't in drvAttrs because its a "passthru" attribute
This commit is contained in:
parent
debe1b93c9
commit
3fda065c6a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user