Compare commits
2 commits
9956d67c27
...
49c49b8b15
Author | SHA1 | Date | |
---|---|---|---|
Dmitry Voronin | 49c49b8b15 | ||
Dmitry Voronin | 7f700eadfc |
|
@ -1,13 +1,11 @@
|
|||
with import <nixpkgs> {};
|
||||
|
||||
mkShell {
|
||||
NIX_LD_LIBRARY_PATH = lib.makeLibraryPath [
|
||||
stdenv.cc.cc
|
||||
];
|
||||
NIX_LD = lib.fileContents "${stdenv.cc}/nix-support/dynamic-linker";
|
||||
|
||||
buildInputs = [
|
||||
let
|
||||
pkgs = import <nixpkgs> {};
|
||||
lib = pkgs.lib;
|
||||
in
|
||||
pkgs.mkShell {
|
||||
nativeBuildInputs = with pkgs; [
|
||||
cargo
|
||||
rustc
|
||||
rust-analyzer
|
||||
];
|
||||
}
|
||||
|
|
Reference in a new issue