let
moz_overlay = import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz );
nixpkgs = import <nixpkgs> { overlays = [ moz_overlay ]; };
rustStableChannel = (nixpkgs.rustChannels.stable).rust.override {
extensions = [
"rust-src"
"rust-analysis"
"rustfmt-preview"
"clippy-preview"
];
targets = [
"x86_64-unknown-linux-gnu"
"x86_64-unknown-linux-musl"
];
};
in
with nixpkgs;
stdenv.mkDerivation {
name = "env";
buildInputs = [
rustStableChannel
];
}