From: Sughosha via Guix-patches via <guix-patches@gnu.org>
To: 58448@debbugs.gnu.org
Subject: [bug#58448] [PATCH] gnu: helm: fix not finding Factory Presets
Date: Tue, 11 Oct 2022 18:34:21 +0000 [thread overview]
Message-ID: <1Hb23qlXeqgl88MZf-yTifjb8ONE252Dzr2UuXWINnpJSUKbtAroTIZsmCKV4SuSkQkVihMEVjP6KiHbdhD1qrjB5GZCqIU6TI4ZeSBH9Xc=@proton.me> (raw)
* gnu/packages/music.scm (helm): Fix not finding Factory Presets.
This change fixes hardcoded paths so that Factory Presets can be found.
---
gnu/packages/music.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 6b37c79389..000b372303 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -6144,6 +6144,13 @@ (define-public helm
(substitute* "Makefile"
(("/usr") ""))
#t))
+ (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))
(delete 'configure))))
(inputs
`(("alsa-lib" ,alsa-lib)
--
2.38.0
next reply other threads:[~2022-10-11 18:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-11 18:34 Sughosha via Guix-patches via [this message]
2022-10-29 21:53 ` [bug#58448] [PATCH] gnu: helm: fix not finding Factory Presets Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='1Hb23qlXeqgl88MZf-yTifjb8ONE252Dzr2UuXWINnpJSUKbtAroTIZsmCKV4SuSkQkVihMEVjP6KiHbdhD1qrjB5GZCqIU6TI4ZeSBH9Xc=@proton.me' \
--to=guix-patches@gnu.org \
--cc=58448@debbugs.gnu.org \
--cc=Sughosha@proton.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.