Skip to content
Snippets Groups Projects
Select Git revision
  • ad142fee84b74ae8f168df8273cc76fb342f85e8
  • main default protected
  • release/1.1
  • encrypt_comments
  • mnemonic_dewif
  • authors_rules
  • 0.14
  • rtd
  • 1.2.1 protected
  • 1.2.0 protected
  • 1.1.1 protected
  • 1.1.0 protected
  • 1.0.0 protected
  • 1.0.0rc1 protected
  • 1.0.0rc0 protected
  • 1.0.0-rc protected
  • 0.62.0 protected
  • 0.61.0 protected
  • 0.60.1 protected
  • 0.58.1 protected
  • 0.60.0 protected
  • 0.58.0 protected
  • 0.57.0 protected
  • 0.56.0 protected
  • 0.55.1 protected
  • 0.55.0 protected
  • 0.54.3 protected
  • 0.54.2 protected
28 results

conf.py

Blame
  • shell.nix 1.09 KiB
    let
      mozillaOverlay =
        import (builtins.fetchGit {
          url = "https://github.com/mozilla/nixpkgs-mozilla.git";
          rev = "57c8084c7ef41366993909c20491e359bbb90f54";
        });
      pinned = builtins.fetchGit {
        # Descriptive name to make the store path easier to identify
        name = "nixos-unstable-2020-04-26";
        url = "https://github.com/nixos/nixpkgs/";
        # Commit hash for nixos-unstable as of 2020-04-26
        # `git ls-remote https://github.com/nixos/nixpkgs nixos-unstable`
        ref = "refs/heads/nixos-unstable";
        rev = "1fe6ed37fd9beb92afe90671c0c2a662a03463dd";
      };
      nixpkgs = import pinned { overlays = [ mozillaOverlay ]; };
      rust-nightly = with nixpkgs; ((rustChannelOf { date = "2022-04-20"; channel = "nightly"; }).rust.override {
        targets = [ "wasm32-unknown-unknown" ];
      });
    in
    with nixpkgs; pkgs.mkShell {
      buildInputs = [
        clang
        pkg-config
        rust-nightly
      ] ++ stdenv.lib.optionals stdenv.isDarwin [
        darwin.apple_sdk.frameworks.Security
      ];
    
      LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
      PROTOC = "${protobuf}/bin/protoc";
      ROCKSDB_LIB_DIR = "${rocksdb}/lib";
    }