public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/nushell/
Date: Sun, 17 Nov 2024 19:19:37 +0000 (UTC)	[thread overview]
Message-ID: <1731871172.99cabffb90adfcedc7034cf71c2ea9e306bee1c1.zmedico@gentoo> (raw)

commit:     99cabffb90adfcedc7034cf71c2ea9e306bee1c1
Author:     Jonas Frei <freijon <AT> pm <DOT> me>
AuthorDate: Sun Nov 17 08:06:17 2024 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Nov 17 19:19:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99cabffb

app-shells/nushell: Fix plugin compilation

Plugins failed to compile when the USE flag 'system-clipboard' was
enabled, because for the plugins this Cargo feature does not exist. This
fix clears the 'myfeatures' variable and configures again before the
plugins are compiled.

Closes: https://bugs.gentoo.org/943627
Signed-off-by: Jonas Frei <freijon <AT> pm.me>
Closes: https://github.com/gentoo/gentoo/pull/39347
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-shells/nushell/nushell-0.100.0.ebuild | 4 ++++
 app-shells/nushell/nushell-0.99.1.ebuild  | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/app-shells/nushell/nushell-0.100.0.ebuild b/app-shells/nushell/nushell-0.100.0.ebuild
index edc57a0cf70d..fcecadb54dc0 100644
--- a/app-shells/nushell/nushell-0.100.0.ebuild
+++ b/app-shells/nushell/nushell-0.100.0.ebuild
@@ -762,6 +762,10 @@ src_compile() {
 src_install() {
 	cargo_src_install
 	if use plugins ; then
+		# Clear features to compile plugins
+		local myfeatures=()
+		cargo_src_configure
+		
 		cargo_src_install --path crates/nu_plugin_custom_values
 		cargo_src_install --path crates/nu_plugin_example
 		cargo_src_install --path crates/nu_plugin_formats

diff --git a/app-shells/nushell/nushell-0.99.1.ebuild b/app-shells/nushell/nushell-0.99.1.ebuild
index f34e0d23df49..c4e3778926b5 100644
--- a/app-shells/nushell/nushell-0.99.1.ebuild
+++ b/app-shells/nushell/nushell-0.99.1.ebuild
@@ -769,6 +769,10 @@ src_compile() {
 src_install() {
 	cargo_src_install
 	if use plugins ; then
+		# Clear features to compile plugins
+		local myfeatures=()
+		cargo_src_configure
+		
 		cargo_src_install --path crates/nu_plugin_custom_values
 		cargo_src_install --path crates/nu_plugin_example
 		cargo_src_install --path crates/nu_plugin_formats


             reply	other threads:[~2024-11-17 19:19 UTC|newest]

Thread overview: 78+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-17 19:19 Zac Medico [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-22  4:34 [gentoo-commits] repo/gentoo:master commit in: app-shells/nushell/ Sam James
2025-03-19 22:26 Zac Medico
2025-03-19 22:26 Zac Medico
2025-02-07 17:50 Sam James
2025-02-07  4:21 Zac Medico
2025-02-07  4:21 Zac Medico
2025-01-11 18:22 Zac Medico
2024-12-31  4:57 Sam James
2024-12-29 19:40 Zac Medico
2024-11-16  2:36 Zac Medico
2024-11-16  2:36 Zac Medico
2024-11-10 17:40 Zac Medico
2024-11-10 17:40 Zac Medico
2024-09-22 18:38 Arthur Zamarin
2024-09-21  8:58 Michał Górny
2024-09-20 15:32 Arthur Zamarin
2024-09-20 14:50 Arthur Zamarin
2024-09-20 14:50 Arthur Zamarin
2024-08-07  2:26 Zac Medico
2024-08-07  2:26 Zac Medico
2024-08-06 10:59 Sam James
2024-06-04 16:27 Zac Medico
2024-05-25  5:05 Arthur Zamarin
2024-05-19  8:43 Zac Medico
2024-04-16  5:42 Joonas Niilola
2024-04-16  5:42 Joonas Niilola
2024-04-05 16:40 Arthur Zamarin
2024-03-15  3:40 Zac Medico
2024-03-15  3:40 Zac Medico
2024-02-28  9:12 Florian Schmaus
2024-01-17  5:05 Zac Medico
2024-01-17  5:05 Zac Medico
2023-12-18  9:23 Zac Medico
2023-12-18  9:23 Zac Medico
2023-12-18  9:23 Zac Medico
2023-11-18  3:21 Zac Medico
2023-11-17 12:07 Sam James
2023-10-10 18:38 Florian Schmaus
2023-10-10 18:38 Florian Schmaus
2023-08-28  4:06 Zac Medico
2023-08-28  4:06 Zac Medico
2023-08-16  5:15 Zac Medico
2023-08-16  5:15 Zac Medico
2023-07-27  6:35 Zac Medico
2023-07-27  6:35 Zac Medico
2023-07-13  6:03 Zac Medico
2023-07-13  6:03 Zac Medico
2023-07-13  6:03 Zac Medico
2023-04-15  2:40 Sam James
2023-02-01  2:44 Zac Medico
2023-01-31  2:10 Zac Medico
2023-01-31  2:10 Zac Medico
2022-11-16  2:49 Zac Medico
2022-10-20  4:16 Zac Medico
2022-10-20  4:15 Zac Medico
2022-10-18  3:50 Zac Medico
2022-08-06 18:42 Zac Medico
2022-08-06 17:38 Zac Medico
2022-07-10 22:31 Zac Medico
2022-06-18 21:50 Zac Medico
2022-06-18 21:50 Zac Medico
2022-05-22 15:09 Zac Medico
2022-05-04  3:18 Zac Medico
2022-04-13  3:58 Zac Medico
2022-03-24  3:34 Zac Medico
2022-03-24  2:35 Zac Medico
2022-01-24  3:52 Zac Medico
2021-12-28 21:13 Zac Medico
2021-12-28 21:13 Zac Medico
2021-12-12 14:23 Yixun Lan
2021-12-08  4:11 Zac Medico
2021-11-17  1:34 Zac Medico
2021-10-31  5:23 Zac Medico
2021-06-20 21:34 Georgy Yakovlev
2021-06-20 21:34 Georgy Yakovlev
2021-06-20  8:45 Georgy Yakovlev
2021-06-20  6:36 Zac Medico

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=1731871172.99cabffb90adfcedc7034cf71c2ea9e306bee1c1.zmedico@gentoo \
    --to=zmedico@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox