on 82fdfdc help sign in
helix/shell.nix
22 lines 522 B history raw
1{ lib, stdenv, pkgs }:
3pkgs.mkShell {
4 nativeBuildInputs = with pkgs; [
5 (rust-bin.stable.latest.default.override { extensions = ["rust-src"]; })
6 lld_10
7 lldb
8 # pythonPackages.six
9 stdenv.cc.cc.lib
10 # pkg-config
11 ];
12 RUSTFLAGS = "-C link-arg=-fuse-ld=lld -C target-cpu=native";
13 RUST_BACKTRACE = "1";
14 # https://github.com/rust-lang/rust/issues/55979
15 LD_LIBRARY_PATH = lib.makeLibraryPath (with pkgs; [
16 stdenv.cc.cc.lib
17 ]);
19 shellHook = ''
20 export HELIX_RUNTIME=$PWD/runtime
21 '';