From 4e48d796f290f497d58a9593d3c6fc51832d59bb Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Tue, 1 Jul 2025 08:42:39 -0700 Subject: [PATCH] fix(zed-nightly): Build wants Rust nightly for now (#5723) (#5731) * fix(zed-nightly): Build wants Rust nightly for now * Empty commit because GitHub is broken * fix: Oops --------- (cherry picked from commit 51d6f21d681193f35e4471bcbb123f61eadf5d17) Signed-off-by: Gilver Co-authored-by: Gilver --- anda/devs/zed/nightly/zed-nightly.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/anda/devs/zed/nightly/zed-nightly.spec b/anda/devs/zed/nightly/zed-nightly.spec index 0c3634a30e..8000dcd08a 100644 --- a/anda/devs/zed/nightly/zed-nightly.spec +++ b/anda/devs/zed/nightly/zed-nightly.spec @@ -4,6 +4,7 @@ %global ver 0.194.0 %bcond_with check +%bcond nightly 1 # Exclude input files from mangling %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ @@ -47,6 +48,9 @@ BuildRequires: perl-IPC-Cmd BuildRequires: perl-File-Compare BuildRequires: perl-File-Copy BuildRequires: perl-lib +%if %{with nightly} +BuildRequires: rustup +%endif BuildRequires: vulkan-loader %description @@ -54,6 +58,9 @@ Code at the speed of thought - Zed is a high-performance, multiplayer code edito %prep %autosetup -n %{crate}-%{commit} -p1 +%if %{with nightly} +%rustup_nightly +%endif %cargo_prep_online export DO_STARTUP_NOTIFY="true"