Skip to content
Snippets Groups Projects
Select Git revision
  • b7c268e99aeedba869875497c6a9d6929bc33ea0
  • master default protected
  • dev
  • appimage
  • fix_gitlab
  • fixappveyor
  • gitlab
  • fix_ci
  • fix_dbus_error
  • fix_ci_osx
  • sakia020
  • fix_travis#1105
  • feature/backend
  • check_uniq_node_by_endpoints
  • qt5.7
  • feature/agent_architecture
  • translations
  • pyqt5.6
  • qtwebengine
  • pyinstaller
  • landscape
  • 0.53.2
  • 0.53.1
  • 0.53.0
  • 0.52.0
  • 0.51.1
  • 0.51.0
  • 0.50.5
  • 0.50.4
  • 0.50.3
  • 0.50.2
  • 0.50.1
  • 0.50.0
  • 0.33.0rc7
  • 0.33.0rc6
  • 0.33.0rc5
  • 0.33.0rc4
  • 0.33.0rc3
  • 0.33.0rc2
  • 0.33.0rc1
  • 0.32.10post1
41 results

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