gnu: carla: Partially fix start-up.
This fixes <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=39942> but carla still fails to start. Reported by Nathan Dehnel <ncdehnel@gmail.com>. * gnu/packages/audio.scm (carla)[arguments]: Add ‘make-carla-executable’ phase.
This commit is contained in:
		
							parent
							
								
									462ca0bbb7
								
							
						
					
					
						commit
						5424e680b8
					
				
					 1 changed files with 7 additions and 1 deletions
				
			
		| 
						 | 
					@ -3930,11 +3930,17 @@ as is the case with audio plugins.")
 | 
				
			||||||
       (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
 | 
					       (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
 | 
				
			||||||
       #:phases
 | 
					       #:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
 | 
					         (delete 'configure)            ; no configure script
 | 
				
			||||||
         (add-before 'build 'set-CC-variable-and-show-features
 | 
					         (add-before 'build 'set-CC-variable-and-show-features
 | 
				
			||||||
           (lambda _
 | 
					           (lambda _
 | 
				
			||||||
             (setenv "CC" "gcc")
 | 
					             (setenv "CC" "gcc")
 | 
				
			||||||
             (invoke "make" "features")))
 | 
					             (invoke "make" "features")))
 | 
				
			||||||
         (delete 'configure))))
 | 
					         (add-after 'install 'make-carla-executable
 | 
				
			||||||
 | 
					           (lambda* (#:key outputs #:allow-other-keys)
 | 
				
			||||||
 | 
					             (let ((out (assoc-ref outputs "out")))
 | 
				
			||||||
 | 
					               (chmod (string-append out "/share/carla/carla") #o555)
 | 
				
			||||||
 | 
					               #t)))
 | 
				
			||||||
 | 
					         )))
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     `(("alsa-lib" ,alsa-lib)
 | 
					     `(("alsa-lib" ,alsa-lib)
 | 
				
			||||||
       ("ffmpeg" ,ffmpeg)
 | 
					       ("ffmpeg" ,ffmpeg)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue