From 5424e680b829c72ed7531333a532643e6f62ceb3 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 6 Mar 2020 15:01:08 +0100 Subject: [PATCH] gnu: carla: Partially fix start-up. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes but carla still fails to start. Reported by Nathan Dehnel . * gnu/packages/audio.scm (carla)[arguments]: Add ‘make-carla-executable’ phase. --- gnu/packages/audio.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 2406aa16b2..d0810bda0a 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -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)