From: Yureka Lilian <yureka@cyberchaos.dev>
To: devel@spectrum-os.org
Cc: Yureka Lilian <yureka@cyberchaos.dev>
Subject: [PATCH] tools: use default clang version
Date: Sun, 2 Nov 2025 14:17:20 +0100 [thread overview]
Message-ID: <20251102131725.10074-1-yureka@cyberchaos.dev> (raw)
Now that we have updated nixpkgs, the default clang version is recent enough to support the required flags
Signed-off-by: Yureka Lilian <yureka@cyberchaos.dev>
---
tools/default.nix | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/tools/default.nix b/tools/default.nix
index de5a3b8..398f570 100644
--- a/tools/default.nix
+++ b/tools/default.nix
@@ -7,8 +7,7 @@ import ../lib/call-package.nix (
, meson, ninja, pkg-config, rustc
, clang-tools, clippy, jq
, dbus, linuxHeaders
-# clang 19 (current nixpkgs default) is too old to support -fwrapv-pointer
-, clang_21, libbpf
+, clang, libbpf
, buildSupport ? false
, appSupport ? true
, hostSupport ? false
@@ -87,7 +86,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ meson ninja ]
++ lib.optionals (appSupport || driverSupport) [ pkg-config ]
++ lib.optionals hostSupport [ rustc ]
- ++ lib.optionals driverSupport [ clang_21.cc ];
+ ++ lib.optionals driverSupport [ clang.cc ];
buildInputs = lib.optionals appSupport [ dbus ]
++ lib.optionals driverSupport [ libbpf linuxHeaders ];
--
2.51.0
next reply other threads:[~2025-11-02 13:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-02 13:17 Yureka Lilian [this message]
2025-11-02 13:55 ` [PATCH] tools: use default clang version Alyssa Ross
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=20251102131725.10074-1-yureka@cyberchaos.dev \
--to=yureka@cyberchaos.dev \
--cc=devel@spectrum-os.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.
Code repositories for project(s) associated with this public inbox
https://spectrum-os.org/git/crosvm
https://spectrum-os.org/git/doc
https://spectrum-os.org/git/mktuntap
https://spectrum-os.org/git/nixpkgs
https://spectrum-os.org/git/spectrum
https://spectrum-os.org/git/ucspi-vsock
https://spectrum-os.org/git/www
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).