Skip to content
Snippets Groups Projects
Select Git revision
  • 49e609c7c7ff3ef9c3d9b6cb30b432f67a7c1bb0
  • master default protected
  • gtest
  • json-output
  • nostr
  • 48-error-base-58-requirement-is-violated
  • no-rename
  • hugo/tx-comments
  • poka/dev
  • hugo/dev
  • tuxmain/mail
  • 0.4.3-RC2
  • 0.4.3-RC1
  • 0.4.2
  • 0.4.1
  • 0.4.0
  • 0.3.0
  • 0.2.17
  • 0.2.16
  • 0.2.15
  • 0.2.14
  • 0.2.13
  • 0.2.12
  • 0.2.10
  • 0.2.9
  • 0.2.8
  • 0.2.7
  • 0.2.6
  • 0.2.5
  • 0.2.4
  • 0.2.3
31 results

identity.rs

Blame
    • Nicolas80's avatar
      49e609c7
      Code review: · 49e609c7
      Nicolas80 authored
      * Adapted commands identity `LinkAccount` & `ChangeOwnerKey`
        * Added possibility to provide
          * `-a` address of vault account to link
          * `-v` name of vault account to link
        * `-S` (secret_format) doesn't have a default anymore since it conflicts with using `-a` or `-v`
        * Added an error message if none of the params are provided
      49e609c7
      History
      Code review:
      Nicolas80 authored
      * Adapted commands identity `LinkAccount` & `ChangeOwnerKey`
        * Added possibility to provide
          * `-a` address of vault account to link
          * `-v` name of vault account to link
        * `-S` (secret_format) doesn't have a default anymore since it conflicts with using `-a` or `-v`
        * Added an error message if none of the params are provided
    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 = "2021-03-01"; 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";
    }