gnu: alsa-scarlett-gui: Wrap with GSETTINGS_SCHEMA_DIR.

* gnu/packages/music.scm (alsa-scarlett-gui)[arguments]: Wrap with
GSETTINGS_SCHEMA_DIR.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Robby Zambito 2024-01-29 10:10:14 -05:00 committed by Ludovic Courtès
parent 96ae7b2e33
commit 5d81aa8613
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -233,6 +233,14 @@
(string-append " "
#$(cc-for-target) " -o")))
(chdir "src")))
(add-after 'install 'wrap-program
(lambda* (#:key inputs outputs #:allow-other-keys)
(wrap-program (string-append (assoc-ref outputs "out")
"/bin/alsa-scarlett-gui")
;; For GtkFileChooserDialog.
`("GSETTINGS_SCHEMA_DIR" =
(,(string-append (assoc-ref inputs "gtk")
"/share/glib-2.0/schemas"))))))
(delete 'configure))))
(inputs
(list alsa-lib glib gtk))