fix dino build

This commit is contained in:
Artemis Tosini 2024-05-05 23:12:36 +00:00
parent f38136b2fe
commit 22e96bdb57
Signed by: artemist
SSH key fingerprint: SHA256:EsuWCwx6fjxxExxf65rX+ocQJJAdw4R1KarpFue6Uwc
2 changed files with 20 additions and 1 deletions

View file

@ -0,0 +1,16 @@
diff --git a/plugins/gpgme-vala/vapi/gpgme_public.vapi b/plugins/gpgme-vala/vapi/gpgme_public.vapi
index bcf12569..b32efd03 100644
--- a/plugins/gpgme-vala/vapi/gpgme_public.vapi
+++ b/plugins/gpgme-vala/vapi/gpgme_public.vapi
@@ -22,9 +22,9 @@ public class Key {
public string issuer_name;
public string chain_id;
public Validity owner_trust;
- [CCode(array_null_terminated = true)]
+ [CCode(array_length = false, array_null_terminated = true)]
public SubKey[] subkeys;
- [CCode(array_null_terminated = true)]
+ [CCode(array_length = false, array_null_terminated = true)]
public UserID[] uids;
public KeylistMode keylist_mode;
// public string fpr; // requires gpgme >= 1.7.0

View file

@ -93,7 +93,10 @@
yubikey-manager
# GUI tools
dino
# TODO: temporary nixpkgs fix
(dino.overrideAttrs (old: {
patches = [ ../externals/patches/fix-compile-new-vala-c.diff ];
}))
evince
gimp
gnome3.eog