guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58448: [PATCH] gnu: helm: fix not finding Factory Presets


From: Nicolas Goaziou
Subject: bug#58448: [PATCH] gnu: helm: fix not finding Factory Presets
Date: Sat, 29 Oct 2022 23:53:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Hello,

Sughosha via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/music.scm (helm): Fix not finding Factory Presets.
>   This change fixes hardcoded paths so that Factory Presets can be
>   found.

Thank you.  Applied with the following changes:

> +         (add-after 'unpack 'fix-hardcoded-paths
> +           (lambda* (#:key outputs #:allow-other-keys)
> +             (substitute* "src/common/load_save.cpp"
> +               (("/usr") (assoc-ref outputs "out")))
> +             (substitute* "src/editor_sections/patch_browser.cpp"
> +               (("/usr") (assoc-ref outputs "out")))
> +             #t))

I removed trailing #t, and merged both substitute* calls.

Regards,
-- 
Nicolas Goaziou





reply via email to

[Prev in Thread] Current Thread [Next in Thread]