Skip to content

clever-tools: missing argument for autocomplete scripts#326039

Merged
fpletz merged 1 commit intoNixOS:masterfrom
florian-sanders-cc:clever-tools-fix
Jul 13, 2024
Merged

clever-tools: missing argument for autocomplete scripts#326039
fpletz merged 1 commit intoNixOS:masterfrom
florian-sanders-cc:clever-tools-fix

Conversation

@florian-sanders-cc
Copy link
Contributor

@florian-sanders-cc florian-sanders-cc commented Jul 10, 2024

Description of changes

Fixes #326030

Currently, the clever-tools package fails to build because the completion scripts need the path of the binary as an argument but it is not provided.

I don't really understand why it worked for previous versions because it should not ever have worked.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@ofborg ofborg bot added 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Jul 10, 2024
@SFrijters
Copy link
Member

Probably it didn't actually work for earlier versions, but before #289517 errors in completion generation were silently ignored.

@florian-sanders-cc
Copy link
Contributor Author

Thanks for you feedback & explanation, everything should be fixed! 😎

@fpletz fpletz changed the title fix/clever-tools: missing argument for autocomplete scripts clever-tools: missing argument for autocomplete scripts Jul 13, 2024
@fpletz fpletz merged commit 76069da into NixOS:master Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure: clever-tools

4 participants