me
/
guix
Archived
1
0
Fork 0

gnu: gammastep: Improve package style.

* gnu/packages/xdisorg.scm (gammastep)[arguments]: Use G-expressions.
master
Nicolas Goaziou 2022-09-13 23:05:18 +02:00
parent b6a633920d
commit ebbf77bf49
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 11 additions and 11 deletions

View File

@ -1593,17 +1593,17 @@ to an arbitrary balanced color.")
(base32 "1rcciccnwhxh97wlr9gcirdxv33za369jsrgrfzcp3042824pm8i"))))
(build-system gnu-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'install 'wrap-python-and-typelib
(lambda* (#:key outputs #:allow-other-keys)
;; Gammastep GUI needs Typelib files from GTK and access
;; to Python libraries.
(wrap-program (string-append (assoc-ref outputs "out")
"/bin/gammastep-indicator")
`("PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH")))
`("GI_TYPELIB_PATH" ":" prefix
(,(getenv "GI_TYPELIB_PATH")))))))))
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'wrap-python-and-typelib
(lambda _
;; Gammastep GUI needs Typelib files from GTK and access to
;; Python libraries.
(wrap-program (string-append #$output "/bin/gammastep-indicator")
`("PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH")))
`("GI_TYPELIB_PATH" ":" prefix
(,(getenv "GI_TYPELIB_PATH")))))))))
(native-inputs
(list autoconf
automake