arcanist: 20220425 -> 20220517

The patch will make its way upstream eventually, but the phabricator
maintainer is currently rejecting all contributions, so for the moment
we'll have to just fix it locally.

authored by Benjamin Staffin and committed by Jonathan Ringer 7230a2d3 55c9d73f

+20 -4
+7 -4
pkgs/development/tools/misc/arcanist/default.nix
··· 25 25 in 26 26 stdenv.mkDerivation { 27 27 pname = "arcanist"; 28 - version = "20220425"; 28 + version = "20220517"; 29 29 30 30 src = fetchFromGitHub { 31 31 owner = "phacility"; 32 32 repo = "arcanist"; 33 - rev = "da206314cf59f71334b187283e18823bddc16ddd"; 34 - sha256 = "sha256-6VVUjFMwPQvk22Ni1YUSgks4ZM0j1JP+71VnYKD8onM="; 33 + rev = "85c953ebe4a6fef332158fd757d97c5a58682d3a"; 34 + sha256 = "0x847fw74mzrbhzpgc4iqgvs6dsf4svwfa707dsbxi78fn2lxbl7"; 35 35 }; 36 36 37 - patches = [ ./dont-require-python3-in-path.patch ]; 37 + patches = [ 38 + ./dont-require-python3-in-path.patch 39 + ./shellcomplete-strlen-null.patch 40 + ]; 38 41 39 42 buildInputs = [ php python3 ]; 40 43
+13
pkgs/development/tools/misc/arcanist/shellcomplete-strlen-null.patch
··· 1 + diff --git a/src/toolset/workflow/ArcanistShellCompleteWorkflow.php b/src/toolset/workflow/ArcanistShellCompleteWorkflow.php 2 + index 9c2fcf9a..307231c8 100644 3 + --- a/src/toolset/workflow/ArcanistShellCompleteWorkflow.php 4 + +++ b/src/toolset/workflow/ArcanistShellCompleteWorkflow.php 5 + @@ -92,7 +92,7 @@ EOTEXT 6 + $argv = $this->getArgument('argv'); 7 + 8 + $is_generate = $this->getArgument('generate'); 9 + - $is_shell = (bool)strlen($this->getArgument('shell')); 10 + + $is_shell = phutil_nonempty_string($this->getArgument('shell')); 11 + $is_current = $this->getArgument('current'); 12 + 13 + if ($argv) {