mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 02:46:17 +04:00
13 lines
280 B
Nix
13 lines
280 B
Nix
{ pkgs ? import <nixpkgs> {} }:
|
|
|
|
pkgs.mkShell {
|
|
nativeBuildInputs = with pkgs; [
|
|
(rust-bin.nightly.latest.rust.override { extensions = ["rust-src"]; })
|
|
lld_10
|
|
# pkgconfig
|
|
];
|
|
RUSTFLAGS = "-C link-arg=-fuse-ld=lld -C target-cpu=native";
|
|
RUST_BACKTRACE = "1";
|
|
}
|
|
|