with import <nixpkgs> {};
let
moz_overlay = import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz);
nixpkgs = import <nixpkgs> { overlays = [ moz_overlay ]; };
ruststable = ((nixpkgs.rustChannelOf { channel = "1.45.2"; }).rust.override {
extensions = [
"clippy-preview"
"rustfmt-preview"
];
targets = [
"x86_64-unknown-linux-gnu"
];
});
in
with nixpkgs;
stdenv.mkDerivation {
name = "time_me-build";
buildInputs = [
ruststable
cargo-audit
## notify-rust ##
pkg-config
dbus
];
}