summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2021-03-04 10:55:03 +0100
committerNora Widdecke <nora@sequoia-pgp.org>2021-03-04 10:55:03 +0100
commitcbef891e687717b2c41f300f39a9ed9d42459e3c (patch)
tree6f18e4f42d1d0a698610cd44379aea4a38b17377 /README.md
parent28d46aac23257c007dc164d993238216401e7d14 (diff)
Use oxalica overlay in NixOS instructions.
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 90bcb957..d36866f0 100644
--- a/README.md
+++ b/README.md
@@ -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" ];
})