Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clever-tools: 3.8.3 -> 3.9.0 #350990

Merged
merged 2 commits into from
Nov 2, 2024

Conversation

florian-sanders-cc
Copy link
Contributor

@florian-sanders-cc florian-sanders-cc commented Oct 24, 2024

Changes:

  • upgrades to 3.9.0,
  • uses the npm run build script introduced by the 3.9.0 release to generate a single .cjs file that contains the whole CLI code (including its dependencies). This means that:
    • we wrap this .cjs file to get an executable file running with the Node.js version specified,
    • the package should only contain:
      • bin/clever (the wrapped file to be executed by Node),
      • src/clever.cjs (the source .cjs file containing the actuel CLI code),
      • share/bash-completion and share/zsh (the completion files).

Note that this is the first time I use makeWrapper so don't hesitate to tell me if stuff can be improved 😉

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.

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/4774

@florian-sanders-cc florian-sanders-cc force-pushed the clever-tools-3-9-0 branch 3 times, most recently from e07a78a to 4e9bbd1 Compare November 2, 2024 17:36
@Scrumplex Scrumplex merged commit b084db8 into NixOS:master Nov 2, 2024
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants