diff --git a/hosts/murk/packages/mender-cli.nix b/hosts/murk/packages/mender-cli.nix index eafdbbe..fc24563 100644 --- a/hosts/murk/packages/mender-cli.nix +++ b/hosts/murk/packages/mender-cli.nix @@ -16,7 +16,7 @@ buildGoModule rec { owner = "mendersoftware"; repo = "mender-cli"; rev = version; - sha256 = "0i0lijlj82irc54l2ljgj5c4z7r0l8kywcf8c9kmjw6p670kpzrx"; + sha256 = "sha256-Pf87wTHXcFlnYsgx7ieiIJ9PWJFPUkFJYTkKJKmMFEQ="; }; vendorHash = "sha256-MqyBa+wsbuXqtM4DL/QGBUWuEYlG8BRxIXq7O1LJUyM="; @@ -42,12 +42,6 @@ buildGoModule rec { --bash <($out/bin/mender-cli completion bash) \ --fish <($out/bin/mender-cli completion fish) \ --zsh <($out/bin/mender-cli completion zsh) \ - - # Ironically, mender-cli still uses old, slightly buggy completion code - # This will correct the #compdef tag and add separate compdef line - # allowing direct sourcing to also activate the completion - substituteInPlace "$out/share/zsh/site-functions/_mender-cli" \ - --replace-fail '#compdef _mender-cli mender-cli' "#compdef mender-cli''\ncompdef _mender-cli mender-cli" ''; meta = {