mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-22 12:35:42 +00:00
build: nix-shell: use mozilla/nixpkgs-mozilla repo (#9456)
This commit is contained in:
+3
-4
@@ -1,9 +1,8 @@
|
|||||||
let
|
let
|
||||||
mozillaOverlay =
|
mozillaOverlay =
|
||||||
import (builtins.fetchGit {
|
import (builtins.fetchGit {
|
||||||
# TODO: revert to upstream after https://github.com/mozilla/nixpkgs-mozilla/pull/250
|
url = "https://github.com/mozilla/nixpkgs-mozilla.git";
|
||||||
url = "https://github.com/andresilva/nixpkgs-mozilla.git";
|
rev = "4a07484cf0e49047f82d83fd119acffbad3b235f";
|
||||||
rev = "7626aca57c20f3f6ee28cce8657147d9b358ea18";
|
|
||||||
});
|
});
|
||||||
nixpkgs = import <nixpkgs> { overlays = [ mozillaOverlay ]; };
|
nixpkgs = import <nixpkgs> { overlays = [ mozillaOverlay ]; };
|
||||||
rust-nightly = with nixpkgs; ((rustChannelOf { date = "2021-07-06"; channel = "nightly"; }).rust.override {
|
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
|
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";
|
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
|
||||||
PROTOC = "${protobuf}/bin/protoc";
|
PROTOC = "${protobuf}/bin/protoc";
|
||||||
ROCKSDB_LIB_DIR = "${rocksdb}/lib";
|
ROCKSDB_LIB_DIR = "${rocksdb}/lib";
|
||||||
|
|||||||
Reference in New Issue
Block a user