~ruther/guix-local

e3a90b81503cefb3b27fbac2ee44cb94f41635c1 — Sharlatan Hellseher 11 months ago 659d44c
gnu: lmms: Fix build.

Fixes guix/guix#1802

* gnu/packages/music.scm (lmms) [arguments] <phases>: Add
'fix-carla-export.

Change-Id: I763418c78068388c76066a62b7bf9277afe3a355
1 files changed, 6 insertions(+), 0 deletions(-)

M gnu/packages/music.scm
M gnu/packages/music.scm => gnu/packages/music.scm +6 -0
@@ 5247,6 5247,12 @@ and more.  Full API documentation and examples are included.")
      #:configure-flags '(list "-DWANT_QT5=ON" "-DWANT_VST=OFF")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-carla-export
            ;; Taken from NixOS package definition.
            (lambda _
              (substitute* "plugins/carlabase/carla.h"
                (("CARLA_EXPORT")
                 "CARLA_API_EXPORT"))))
          (add-after 'unpack 'unpack-rpmalloc
            (lambda* (#:key inputs #:allow-other-keys)
              (copy-recursively (assoc-ref inputs "rpmalloc")