Use parent envrc / default.nix.
This commit is contained in:
parent
4ba8e3e3ee
commit
37b4e1b4b2
27
default.nix
27
default.nix
@ -1,27 +0,0 @@
|
|||||||
let
|
|
||||||
pkgs = import <nixpkgs> {
|
|
||||||
overlays = [
|
|
||||||
(import (builtins.fetchTarball
|
|
||||||
"https://github.com/oxalica/rust-overlay/archive/master.tar.gz"))
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
rust = pkgs.rust-bin.stable.latest.rust.override {
|
|
||||||
extensions = [ "rust-src" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
in with pkgs;
|
|
||||||
pkgs.mkShell rec {
|
|
||||||
name = "rust";
|
|
||||||
buildInputs = [
|
|
||||||
openssl
|
|
||||||
pkg-config
|
|
||||||
cargo
|
|
||||||
rust
|
|
||||||
rustfmt
|
|
||||||
rust-analyzer
|
|
||||||
wasm-pack
|
|
||||||
wasm-bindgen-cli
|
|
||||||
nodePackages.rollup
|
|
||||||
];
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user