diff options
author | Nora Widdecke <nora@sequoia-pgp.org> | 2021-03-04 10:55:03 +0100 |
---|---|---|
committer | Nora Widdecke <nora@sequoia-pgp.org> | 2021-03-04 10:55:03 +0100 |
commit | cbef891e687717b2c41f300f39a9ed9d42459e3c (patch) | |
tree | 6f18e4f42d1d0a698610cd44379aea4a38b17377 /README.md | |
parent | 28d46aac23257c007dc164d993238216401e7d14 (diff) |
Use oxalica overlay in NixOS instructions.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -239,10 +239,10 @@ Development environment for use with `nix-shell` or `direnv`: ```nix let - moz_overlay = import (builtins.fetchTarball - "https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz"); - nixpkgs = import <nixpkgs> { overlays = [ moz_overlay ]; }; - rust_channel = (nixpkgs.rustChannelOf { rustToolchain = ./rust-toolchain; }); + oxalica_overlay = import (builtins.fetchTarball + "https://github.com/oxalica/rust-overlay/archive/master.tar.gz"); + nixpkgs = import <nixpkgs> { overlays = [ oxalica_overlay ]; }; + rust_channel = nixpkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain; in with nixpkgs; pkgs.mkShell { buildInputs = [ @@ -256,7 +256,7 @@ pkgs.mkShell { ]; nativeBuildInputs = [ - (rust_channel.rust.override{ + (rust_channel.override{ extensions = [ "rust-src" "rust-std" ]; }) |