diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-04-15 18:12:04 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-04-17 16:29:51 +0200 |
commit | 23b420bea3a0b17d66535389a24531a07faa0fea (patch) | |
tree | dc4e599934c096c55d30e30f1d6563fccb0bdd9c | |
parent | 1eae5707fef0763e26021cf0eae233117d5e534a (diff) |
ci: Use mozilla overlay for nixpkgs with current rust
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | ci.nix | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -1,9 +1,18 @@ -{ pkgs ? (import <nixpkgs> {}) }: +{ ... }: +let + moz_overlay = import ( + builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz + ); + + pkgs = import <nixpkgs> { overlays = [ moz_overlay ]; }; +in pkgs.mkShell { buildInputs = with pkgs; [ - rustc - cargo + rustChannels.stable.rust-std + rustChannels.stable.rust + rustChannels.stable.rustc + rustChannels.stable.cargo cmake curl |