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

fly: init at 5.3.0 #64714

Merged
merged 2 commits into from Jul 15, 2019
Merged

fly: init at 5.3.0 #64714

merged 2 commits into from Jul 15, 2019

Conversation

ivanbrennan
Copy link
Member

Add fly CLI for working with Concourse.

Motivation for this change

There was no existing derivation for fly CLI.

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 nix-review --run "nix-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)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

postInstall = ''
install -D -m 444 ${
writeText "fly.bash" (builtins.readFile ./fly.bash)
} $out/share/bash-completion/completions/fly
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
} $out/share/bash-completion/completions/fly
install -D -m 444 fly.bash $out/share/bash-completion/completions/fly

Copy link
Member Author

Choose a reason for hiding this comment

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

@kalbasit Because fly.bash isn't present in the project's source, I had to implement this slightly differently: 9e465d2#diff-bd215dfd96e2fb6f91323ab49fa3563fR28

Add `fly` CLI for working with Concourse CI, and include Bash
completions.
@kalbasit
Copy link
Member

@GrahamcOfBorg build fly

@kalbasit kalbasit merged commit 407a106 into NixOS:master Jul 15, 2019
@ivanbrennan ivanbrennan deleted the fly-5.3.0 branch July 15, 2019 18:59
ivanbrennan added a commit to ivanbrennan/nixpkgs that referenced this pull request Mar 28, 2021
The writeText argument is unused. It was originally used to copy a bash
completion script into the derivation, but a different approach was
chosen, and I simply forgot to remove the writeText argument.

NixOS@78013b4
NixOS#64714 (comment)
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