me
/
guix
Archived
1
0
Fork 0

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.
master
Tobias Geerinckx-Rice 2020-03-06 15:01:08 +01:00
parent 462ca0bbb7
commit 5424e680b8
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 7 additions and 1 deletions

View File

@ -3930,11 +3930,17 @@ as is the case with audio plugins.")
(list (string-append "PREFIX=" (assoc-ref %outputs "out")))
#:phases
(modify-phases %standard-phases
(delete 'configure) ; no configure script
(add-before 'build 'set-CC-variable-and-show-features
(lambda _
(setenv "CC" "gcc")
(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
`(("alsa-lib" ,alsa-lib)
("ffmpeg" ,ffmpeg)