Fresh Start

This commit is contained in:
Daniel Løvbrøtte Olsen
2019-01-23 14:17:04 +01:00
parent 35e6791bb3
commit 111f4cc36e
5 changed files with 118 additions and 317 deletions

View File

@@ -1,6 +1,20 @@
let moz_overlay = import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz);
nixpkgs = import <nixpkgs> { overlays = [ moz_overlay ]; }; in with
nixpkgs; stdenv.mkDerivation {
name = "moz_overlay_shell";
buildInputs = [ nixpkgs.latest.rustChannels.nightly.rust ];
}
let
moz_overlay = import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz);
nixpkgs = import <nixpkgs> { overlays = [ moz_overlay ]; };
rustNightlyChannel = (nixpkgs.rustChannelOf { date = "2019-01-07"; channel = "nightly"; }).rust;
rustStableChannel = nixpkgs.latest.rustChannels.stable.rust.override {
extensions = [
"rust-src"
"rls-preview"
"clippy-preview"
"rustfmt-preview"
];
};
in
with nixpkgs;
stdenv.mkDerivation {
name = "moz_overlay_shell";
buildInputs = [
rustNightlyChannel
];
}