Skip to content
Snippets Groups Projects
Select Git revision
  • 05146862c85e1539fbf96e51bc5c4a11e0f86736
  • main default protected
  • ts
  • raw-crypt
  • v3.5.8 protected
  • v3.5.7 protected
  • v3.5.6 protected
  • v3.5.5 protected
  • v3.5.4 protected
  • v3.5.3 protected
  • v3.5.2 protected
  • v3.5.1 protected
  • v3.5.0 protected
  • v3.4.2 protected
  • v3.4.1 protected
  • v3.4.0 protected
  • v3.3.3 protected
  • v3.3.2 protected
  • v3.3.1 protected
  • v3.3.0 protected
  • v3.2.0 protected
  • v3.1.0 protected
  • v3.0.2 protected
  • v3.0.1 protected
24 results

multi-node-layer.test.mjs

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";
    }