2020-11-07 10:19:54 +00:00
|
|
|
let
|
|
|
|
moz_overlay = import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz);
|
|
|
|
nixpkgs = import <nixpkgs> { overlays = [ moz_overlay ]; };
|
|
|
|
channel = (nixpkgs.rustChannelOf { rustToolchain = ./rust-toolchain; });
|
|
|
|
in
|
|
|
|
with nixpkgs;
|
|
|
|
stdenv.mkDerivation {
|
2020-11-08 14:27:26 +00:00
|
|
|
name = "bakare_shell";
|
2020-11-07 10:19:54 +00:00
|
|
|
buildInputs = [
|
|
|
|
channel.rust
|
2020-11-28 13:28:00 +00:00
|
|
|
linuxPackages.perf flamegraph cargo-flamegraph geeqie
|
2020-11-28 14:14:35 +00:00
|
|
|
cargo-edit
|
2020-11-07 10:19:54 +00:00
|
|
|
cacert openssl openssh zlib
|
2020-11-08 14:27:26 +00:00
|
|
|
pkgconfig clang llvm
|
|
|
|
git
|
2020-11-07 10:19:54 +00:00
|
|
|
];
|
2020-11-08 14:27:26 +00:00
|
|
|
shellHook = ''
|
|
|
|
export RUST_SRC_PATH="${channel.rust-src}/lib/rustlib/src/rust/src"
|
|
|
|
'';
|
2020-11-07 10:19:54 +00:00
|
|
|
}
|