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:
		
							parent
							
								
									96ae7b2e33
								
							
						
					
					
						commit
						5d81aa8613
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
					@ -233,6 +233,14 @@
 | 
				
			||||||
                 (string-append "	"
 | 
					                 (string-append "	"
 | 
				
			||||||
                                #$(cc-for-target) " -o")))
 | 
					                                #$(cc-for-target) " -o")))
 | 
				
			||||||
              (chdir "src")))
 | 
					              (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))))
 | 
					          (delete 'configure))))
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     (list alsa-lib glib gtk))
 | 
					     (list alsa-lib glib gtk))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue