From f62620fa3d60c9d9af2626f9f96194c661027b56 Mon Sep 17 00:00:00 2001 From: Thomas Butter Date: Sat, 9 May 2026 09:54:55 +0000 Subject: [PATCH] tirith: 0.2.12 -> 0.3.1 --- pkgs/by-name/ti/tirith/package.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ti/tirith/package.nix b/pkgs/by-name/ti/tirith/package.nix index 728ffd343add..3f9bd107e3fa 100644 --- a/pkgs/by-name/ti/tirith/package.nix +++ b/pkgs/by-name/ti/tirith/package.nix @@ -8,21 +8,26 @@ }: rustPlatform.buildRustPackage (final: { pname = "tirith"; - version = "0.2.12"; + version = "0.3.1"; src = fetchFromGitHub { owner = "sheeki03"; repo = "tirith"; tag = "v${final.version}"; - hash = "sha256-O0IRWiNib7sc6y17NdHcFfxKW5M37l/87kBEAJiTMWs="; + hash = "sha256-RdStW5ubqypdmFqNk9DHtUp5jHnZdXiWW/lAlSaBb3c="; }; - cargoHash = "sha256-mIQ1zvAh+a7EyyNoYEZFdYUaQ9drIE2WfHmFHvgFUFM="; + cargoHash = "sha256-/V2vv02x0zSsJCcJMSttG9eekRZMK7KTk6m2VYePFa8="; cargoBuildFlags = [ "-p" "tirith" ]; + postPatch = '' + # The bash_preexec_enforce tests require a shell with job control + rm crates/tirith/tests/bash_preexec_enforce.rs + ''; + checkFlags = [ # requires a fully functional shell environment, generating init scripts needs a patch under nix to work at build time "--skip=init_bash_output" @@ -34,6 +39,7 @@ rustPlatform.buildRustPackage (final: { ]; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; + __darwinAllowLocalNetworking = true; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd tirith \