gnu: guile-gi: Install extension to sub-directory, use glib-or-gtk build system.
* gnu/packages/guile-xyz.scm (guile-gi)[build-system]: Use glib-or-gtk-build-system. [arguments]: Install the extension to the "extensions" sub-directory.
This commit is contained in:
parent
346ea4b5fc
commit
e4ef0d7cc9
1 changed files with 4 additions and 3 deletions
|
@ -104,6 +104,7 @@ (define-module (gnu packages guile-xyz)
|
|||
#:use-module (guix download)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module (guix hg-download)
|
||||
#:use-module (guix build-system glib-or-gtk)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix build-system guile)
|
||||
#:use-module (guix utils)
|
||||
|
@ -2706,10 +2707,10 @@ (define-public guile-gi
|
|||
(sha256
|
||||
(base32
|
||||
"05xbwrk50h4f9fh8la8fk2wsxbnm0jcyb9phnpkkjq4sqkhkxlbj"))))
|
||||
(build-system gnu-build-system)
|
||||
(build-system glib-or-gtk-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags '("--with-gnu-filesystem-hierarchy")
|
||||
#:modules ((guix build gnu-build-system)
|
||||
#:modules ((guix build glib-or-gtk-build-system)
|
||||
(guix build utils)
|
||||
(ice-9 popen)
|
||||
(ice-9 rdelim))
|
||||
|
@ -2732,7 +2733,7 @@ (define-public guile-gi
|
|||
(format #f "~alibguile-gi"
|
||||
(if (getenv "GUILE_GI_UNINSTALLED")
|
||||
""
|
||||
,(format #f "~a/lib/guile/~a/"
|
||||
,(format #f "~a/lib/guile/~a/extensions/"
|
||||
(assoc-ref outputs "out")
|
||||
effective)))
|
||||
,arg)))))
|
||||
|
|
Loading…
Reference in a new issue