mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-04 03:17:45 +03:00
build(nix): fix devshell
This commit is contained in:
parent
e5af0f1d49
commit
309735aa2d
2 changed files with 6 additions and 4 deletions
|
@ -120,9 +120,11 @@
|
|||
else pkgs.clangStdenv;
|
||||
rustFlagsEnv =
|
||||
if stdenv.isLinux
|
||||
then "$RUSTFLAGS\" -C link-arg=-fuse-ld=lld -C target-cpu=native -Clink-arg=-Wl,--no-rosegment\""
|
||||
then ''$RUSTFLAGS -C link-arg=-fuse-ld=lld -C target-cpu=native -Clink-arg=-Wl,--no-rosegment''
|
||||
else "$RUSTFLAGS";
|
||||
in {
|
||||
# by default NCI adds rust-analyzer component, but helix toolchain doesn't have rust-analyzer
|
||||
nci.toolchains.shell.components = ["rust-src" "rustfmt" "clippy"];
|
||||
nci.projects."helix-project".relPath = "";
|
||||
nci.crates."helix-term" = {
|
||||
overrides = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue