Unverified Commit 7d5c9c5b authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

arti: 1.7.0 -> 1.9.0 (#467316)

parents c7874e2c c723a647
Loading
Loading
Loading
Loading
+8 −7
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "arti";
  version = "1.7.0";
  version = "1.9.0";

  src = fetchFromGitLab {
    domain = "gitlab.torproject.org";
@@ -20,10 +20,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
    owner = "core";
    repo = "arti";
    tag = "arti-v${finalAttrs.version}";
    hash = "sha256-4Vx5ATVdE8AoMWjDKKkwGOFVOwI0Qhyfr8MiAo+7MNw=";
    hash = "sha256-b5DWu38/iKwKcmp4BNgkeE5F522YRZZiev9gUZ/Rb1E=";
  };

  cargoHash = "sha256-x1Pws9XbvwZqxJTJmPHQd6qbNLgkHxCK3YIZbRylk2M=";
  cargoHash = "sha256-SGxSZaY8//FHhySbarfgleafF5YEWJW/fUAwo3576NI=";

  nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ];

@@ -54,12 +54,13 @@ rustPlatform.buildRustPackage (finalAttrs: {
  checkFlags = [
    # problematic test that hangs the build
    "--skip=reload_cfg::test::watch_single_file"

    # some of the cli tests attempt to validate that the filesystem and build
    # is securely configured, which is somewhat broken by the nix build sandbox
    "--skip=cli_tests"
  ];

  # some of the CLI tests attempt to validate that the filesystem and runtime
  # environment are securely configured, which breaks inside the nix build
  # sandbox. this does NOT affect downstream users of Arti.
  env.ARTI_FS_DISABLE_PERMISSION_CHECKS = 1;

  nativeInstallCheckInputs = [
    versionCheckHook
  ];