nix: Clean up build (#27881)

- bump our livekit version to include a fix for a crane bug (TODO: add
link when an issue is filed on crane)
- switch to a clang stdenv for both linux and macos
- manually unify versions of our notify crate
- remove old linker flags which were only needed for livekit
- fix an issue where RUSTFLAGS shadowed the rustflags from cargo configs

Release Notes:

- N/A
This commit is contained in:
Julia Ryan 2025-04-01 15:35:15 -07:00 committed by GitHub
parent a1b53e91e7
commit 4110928314
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 92 additions and 102 deletions

View file

@ -1,7 +1,5 @@
{
mkShell,
stdenv,
stdenvAdapters,
makeFontsConf,
zed-editor,
@ -12,12 +10,7 @@
protobuf,
nodejs_22,
}:
let
moldStdenv = stdenvAdapters.useMoldLinker stdenv;
mkShell' =
if stdenv.hostPlatform.isLinux then mkShell.override { stdenv = moldStdenv; } else mkShell;
in
mkShell' {
(mkShell.override { inherit (zed-editor) stdenv; }) {
inputsFrom = [ zed-editor ];
packages = [
rust-analyzer