diff options
author | Robby Zambito <contact@robbyzambito.me> | 2024-01-29 10:10:14 -0500 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-02-20 10:57:16 +0100 |
commit | 5d81aa8613e7f9e348ccc9fd83c25d75a900ba37 (patch) | |
tree | ba77edf769df10fd6203ccc06f788df1abe72403 | |
parent | 96ae7b2e33d8f04a67b0bf900ca27dbd0fefaee6 (diff) |
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>
-rw-r--r-- | gnu/packages/music.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 6b218376b7..d6fadf2247 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -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)) |