mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 06:28:50 +03:00
coursier: Rename binary to cs
This commit is contained in:
parent
78476ea088
commit
06ec20277f
@ -1129,6 +1129,15 @@ Superuser created successfully.
|
||||
would be parsed as 3 parameters.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
The <literal>coursier</literal> package’s binary was renamed
|
||||
from <literal>coursier</literal> to <literal>cs</literal>.
|
||||
Completions which haven’t worked for a while should now work
|
||||
with the renamed binary. To keep using
|
||||
<literal>coursier</literal>, you can create a shell alias.
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</section>
|
||||
<section xml:id="sec-release-21.11-notable-changes">
|
||||
|
@ -349,6 +349,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.
|
||||
|
||||
## Other Notable Changes {#sec-release-21.11-notable-changes}
|
||||
|
||||
|
||||
|
@ -25,12 +25,12 @@ in stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
buildCommand = ''
|
||||
install -Dm555 $src $out/bin/coursier
|
||||
patchShebangs $out/bin/coursier
|
||||
wrapProgram $out/bin/coursier --prefix PATH ":" ${jre}/bin
|
||||
install -Dm555 $src $out/bin/cs
|
||||
patchShebangs $out/bin/cs
|
||||
wrapProgram $out/bin/cs --prefix PATH ":" ${jre}/bin
|
||||
|
||||
# copy zsh completion
|
||||
install -Dm755 ${zshCompletion} $out/share/zsh/site-functions/_coursier
|
||||
install -Dm755 ${zshCompletion} $out/share/zsh/site-functions/_cs
|
||||
'';
|
||||
|
||||
passthru.updateScript = writeScript "update.sh" ''
|
||||
|
Loading…
Reference in New Issue
Block a user