mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-09-11 16:07:00 +03: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";
|
|
}
|
|
|