Use parent envrc / default.nix.

This commit is contained in:
Bill Thiede 2021-11-12 18:05:56 -08:00
parent 4ba8e3e3ee
commit 37b4e1b4b2
2 changed files with 0 additions and 28 deletions

1
.envrc
View File

@ -1 +0,0 @@
use_nix

View File

@ -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
];
}