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

coursier: Rename binary to cs #142254

Merged
merged 1 commit into from
Oct 21, 2021
Merged

Conversation

kubukoz
Copy link
Member

@kubukoz kubukoz commented Oct 19, 2021

Motivation for this change

The binary provided by other installation of Coursier is called cs. The completions also don't work with coursier unless it's defined as an alias for cs.

Things done
  • rename coursier binary to cs
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • 21.11 Release Notes (or backporting 21.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.

@NeQuissimus NeQuissimus merged commit 06ec202 into NixOS:master Oct 21, 2021
@@ -348,6 +348,8 @@ In addition to numerous new and upgraded packages, this release has the followin

- `boot.kernelParams` now only accepts one command line parameter per string. This change is aimed to reduce common mistakes like "param = 12", which would be parsed as 3 parameters.

- The `coursier` package's binary was renamed from `coursier` to `cs`. Completions which haven't worked for a while should now work with the renamed binary. To keep using `coursier`, you can create a shell alias.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The release notes are for important changes. I am not sure if this is actually an important change.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's breaking for anyone who uses coursier in any builds - if that was me, I would say it's important :) (I'm not using this in prod, but I do have usages of coursier that are impacted)

@kubukoz kubukoz deleted the coursier-completions branch October 21, 2021 21:20
fabianhjr added a commit to LibreCybernetics/nixpkgs that referenced this pull request Oct 29, 2021
After NixOS#142254 coursier provides its
binary as /bin/cs rather than /bin/coursier
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.

None yet

4 participants