mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +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
|
stdenv.mkDerivation
|
||||||
(builtins.removeAttrs overridenUnwrappedGir.drvAttrs [ "name" ] # so we can get a fresh name generated from the pname
|
(builtins.removeAttrs overridenUnwrappedGir.drvAttrs [ "name" ] # so we can get a fresh name generated from the pname
|
||||||
// {
|
// {
|
||||||
|
|
||||||
|
inherit (overridenUnwrappedGir) meta;
|
||||||
pname = "gobject-introspection-wrapped";
|
pname = "gobject-introspection-wrapped";
|
||||||
passthru = overridenUnwrappedGir.passthru // {
|
passthru = overridenUnwrappedGir.passthru // {
|
||||||
unwrapped = overridenUnwrappedGir;
|
unwrapped = overridenUnwrappedGir;
|
||||||
@ -88,6 +90,7 @@ then
|
|||||||
else
|
else
|
||||||
stdenv.mkDerivation (builtins.removeAttrs overridenUnwrappedGir.drvAttrs [ "name" ] # so we can get a fresh name generated from the pname
|
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";
|
pname = "gobject-introspection-wrapped";
|
||||||
passthru = overridenUnwrappedGir.passthru // {
|
passthru = overridenUnwrappedGir.passthru // {
|
||||||
unwrapped = overridenUnwrappedGir;
|
unwrapped = overridenUnwrappedGir;
|
||||||
|
Loading…
Reference in New Issue
Block a user