gnu: gnucash: Do not install gnc-fq-update.

This binary is used only for updating Finance::Quote from CPAN.  That does not
make sense on Guix, so do not install it.

* gnu/packages/gnucash.scm (gnucash)[arguments]<#:phases>: Add
delete-gnc-fq-update.

Change-Id: I93cf6d67166cce5970d48eea42de0ee5a5a9a8f8
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Tomas Volf 2025-01-03 15:24:27 +01:00 committed by Ludovic Courtès
parent f3315c3fa8
commit aae6e533e0
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -160,12 +160,16 @@
(map (lambda (l)
(assoc l (package-inputs this-package)))
'("perl-finance-quote")))))))))
'("gnucash"
"gnc-fq-update"))))
'("gnucash"))))
(add-after 'install 'glib-or-gtk-compile-schemas
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
(add-after 'install 'glib-or-gtk-wrap
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))
(add-before 'glib-or-gtk-wrap 'delete-gnc-fq-update
(lambda _
;; We are not updating Finance::Quote from CPAN. There is no
;; reason to install this binary.
(delete-file (string-append #$output "/bin/gnc-fq-update")))))))
(native-inputs
(list gmp
`(,glib "bin") ;glib-compile-schemas, etc.