From 44ace31beeaee90c993fc39f687563b8e0e65b9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Silva?= <123550+andresilva@users.noreply.github.com> Date: Thu, 29 Jul 2021 12:13:08 +0100 Subject: [PATCH] build: nix-shell: use mozilla/nixpkgs-mozilla repo (#9456) --- substrate/shell.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/substrate/shell.nix b/substrate/shell.nix index 03c95f56fc..65a330bf33 100644 --- a/substrate/shell.nix +++ b/substrate/shell.nix @@ -1,9 +1,8 @@ let mozillaOverlay = import (builtins.fetchGit { - # TODO: revert to upstream after https://github.com/mozilla/nixpkgs-mozilla/pull/250 - url = "https://github.com/andresilva/nixpkgs-mozilla.git"; - rev = "7626aca57c20f3f6ee28cce8657147d9b358ea18"; + url = "https://github.com/mozilla/nixpkgs-mozilla.git"; + rev = "4a07484cf0e49047f82d83fd119acffbad3b235f"; }); nixpkgs = import { overlays = [ mozillaOverlay ]; }; rust-nightly = with nixpkgs; ((rustChannelOf { date = "2021-07-06"; channel = "nightly"; }).rust.override { @@ -20,7 +19,7 @@ with nixpkgs; pkgs.mkShell { darwin.apple_sdk.frameworks.Security ]; - RUST_SRC_PATH="${rust-nightly}/lib/rustlib/src/rust/src"; + RUST_SRC_PATH = "${rust-nightly}/lib/rustlib/src/rust/src"; LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib"; PROTOC = "${protobuf}/bin/protoc"; ROCKSDB_LIB_DIR = "${rocksdb}/lib";