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

gradle-completion: init at 1.3.1 #42929

Merged
merged 1 commit into from Jul 4, 2018
Merged

Conversation

Ma27
Copy link
Member

@Ma27 Ma27 commented Jul 3, 2018

Motivation for this change

This package adds completion scripts for gradle on the bash and
zsh shells.

The completions can be enabled like this:

{ pkgs, ... }:
{
  environment.systemPackages = [ pkgs.gradle pkgs.gradle-completion ];
  programs.zsh.enable = true;
}

The package stores the scripts into the expected directories in
$out/share to ensure that the shells can easily find their scripts.

Closes #42799

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

This package adds completion scripts for `gradle` on the `bash` and
`zsh` shells.

The completions can be enabled like this:

```
{ pkgs, ... }:
{
  environment.systemPackages = [ pkgs.gradle pkgs.gradle-completion ];
  programs.zsh.enable = true;
}
```

The package stores the scripts into the expected directories in
`$out/share` to ensure that the shells can easily find their scripts.

Closes NixOS#42799
@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: gradle-completion

Partial log (click to expand)

patching sources
configuring
no configure script, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/fmy99395mfr23myxxambvwgprvygdh06-gradle-completion-1.3.1
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/fmy99395mfr23myxxambvwgprvygdh06-gradle-completion-1.3.1
checking for references to /build in /nix/store/fmy99395mfr23myxxambvwgprvygdh06-gradle-completion-1.3.1...
/nix/store/fmy99395mfr23myxxambvwgprvygdh06-gradle-completion-1.3.1

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: gradle-completion

Partial log (click to expand)

updateAutotoolsGnuConfigScriptsPhase
configuring
no configure script, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/yc2zg2fcbiac8d7fhzh2zp6i4rq0qhgi-gradle-completion-1.3.1
strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/yc2zg2fcbiac8d7fhzh2zp6i4rq0qhgi-gradle-completion-1.3.1
checking for references to /build in /nix/store/yc2zg2fcbiac8d7fhzh2zp6i4rq0qhgi-gradle-completion-1.3.1...
/nix/store/yc2zg2fcbiac8d7fhzh2zp6i4rq0qhgi-gradle-completion-1.3.1

@xeji xeji merged commit 4dfea24 into NixOS:master Jul 4, 2018
@Ma27 Ma27 deleted the package-gradle-completion branch July 4, 2018 22:36
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

3 participants