20 lines
649 B
Nix
20 lines
649 B
Nix
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 {
|
|
name = "bakare_shell";
|
|
buildInputs = [
|
|
channel.rust
|
|
linuxPackages.perf flamegraph cargo-flamegraph geeqie
|
|
cargo-edit cargo-udeps
|
|
cacert openssl openssh zlib
|
|
pkgconfig clang llvm kdbg lldb gdb
|
|
git
|
|
];
|
|
shellHook = ''
|
|
export RUST_SRC_PATH="${channel.rust-src}/lib/rustlib/src/rust/src"
|
|
'';
|
|
}
|