Skip to content
Snippets Groups Projects
Commit ca3ee2e2 authored by Squirrel's avatar Squirrel Committed by GitHub
Browse files

IDEs like rust-src (#9443)


Co-authored-by: default avatarGiles Cope <giles.cope@gmail.com>
parent 6b75ec92
No related merge requests found
......@@ -7,6 +7,7 @@ let
});
nixpkgs = import <nixpkgs> { overlays = [ mozillaOverlay ]; };
rust-nightly = with nixpkgs; ((rustChannelOf { date = "2021-07-06"; channel = "nightly"; }).rust.override {
extensions = [ "rust-src" ];
targets = [ "wasm32-unknown-unknown" ];
});
in
......@@ -19,6 +20,7 @@ with nixpkgs; pkgs.mkShell {
darwin.apple_sdk.frameworks.Security
];
RUST_SRC_PATH="${rust-nightly}/lib/rustlib/src/rust/src";
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
PROTOC = "${protobuf}/bin/protoc";
ROCKSDB_LIB_DIR = "${rocksdb}/lib";
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment