build(nix): fix devshell
This commit is contained in:
parent
e5af0f1d49
commit
309735aa2d
@ -119,11 +119,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1677294491,
|
"lastModified": 1677297103,
|
||||||
"narHash": "sha256-p09IOJqhUOM6egRJe4Ou1EXdTs/I9Pmm8e7pMYDlIWM=",
|
"narHash": "sha256-ArlJIbp9NGV9yvhZdV0SOUFfRlI/kHeKoCk30NbSiLc=",
|
||||||
"owner": "yusdacra",
|
"owner": "yusdacra",
|
||||||
"repo": "nix-cargo-integration",
|
"repo": "nix-cargo-integration",
|
||||||
"rev": "a525ed36c440854f296cd958f4ebf574f0ebe22c",
|
"rev": "a79272a2cb0942392bb3a5bf9a3ec6bc568795b2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -120,9 +120,11 @@
|
|||||||
else pkgs.clangStdenv;
|
else pkgs.clangStdenv;
|
||||||
rustFlagsEnv =
|
rustFlagsEnv =
|
||||||
if stdenv.isLinux
|
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";
|
else "$RUSTFLAGS";
|
||||||
in {
|
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.projects."helix-project".relPath = "";
|
||||||
nci.crates."helix-term" = {
|
nci.crates."helix-term" = {
|
||||||
overrides = {
|
overrides = {
|
||||||
|
Loading…
Reference in New Issue
Block a user