gnu: faust-2: Remove inherited phase.

* gnu/packages/audio.scm (faust-2)[arguments]: Remove build phase
"fix-permissions".
This commit is contained in:
Ricardo Wurmus 2017-12-03 17:22:41 +01:00
parent a36047422f
commit 75bbc3c2e2
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1158,18 +1158,7 @@ (define-public faust-2
(substitute-keyword-arguments (package-arguments faust)
((#:make-flags flags)
`(list (string-append "prefix=" (assoc-ref %outputs "out"))
"world"))
((#:phases phases)
`(modify-phases ,phases
;; Files appear under $out/share/faust that are read-only. The
;; install phase tries to overwrite them and fails, so we change
;; the permissions first.
(add-before 'install 'fix-permissions
(lambda* (#:key outputs #:allow-other-keys)
(for-each (lambda (file)
(chmod file #o644))
(find-files "architecture/max-msp" ".*"))
#t))))))
"world"))))
(native-inputs
`(("llvm" ,llvm-with-rtti)
("which" ,which)