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

gopass: Install shell completion scripts #38678

Merged
merged 1 commit into from Apr 10, 2018
Merged

Conversation

mkaito
Copy link
Contributor

@mkaito mkaito commented Apr 10, 2018

Motivation for this change

Install shell completion scripts for ZSH, Bash, Fish.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-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/)
  • Fits CONTRIBUTING.md.

Shell completion needs to be generated by the `gopass` binary, and moved
into place for each of the supported shells.
@Mic92
Copy link
Member

Mic92 commented Apr 10, 2018

@GrahamcOfBorg build gopass

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: gopass

Partial log (click to expand)

patching script interpreter paths in /nix/store/3qrbw0864fkw92s56r5c6j5wkgl87kdj-gopass-1.6.11-bin
checking for references to /build in /nix/store/3qrbw0864fkw92s56r5c6j5wkgl87kdj-gopass-1.6.11-bin...
shrinking RPATHs of ELF executables and libraries in /nix/store/2ajlm5mh39bvis2fiq3wmz27545j9rs2-gopass-1.6.11
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/2ajlm5mh39bvis2fiq3wmz27545j9rs2-gopass-1.6.11
/nix/store/2ajlm5mh39bvis2fiq3wmz27545j9rs2-gopass-1.6.11/share/go/src/github.com/justwatchcom/gopass/vendor/github.com/gdamore/tcell/terminfo/mkdatabase.sh: interpreter directive changed from "/bin/bash" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash"
/nix/store/2ajlm5mh39bvis2fiq3wmz27545j9rs2-gopass-1.6.11/share/go/src/github.com/justwatchcom/gopass/vendor/golang.org/x/sys/unix/mkerrors.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash"
/nix/store/2ajlm5mh39bvis2fiq3wmz27545j9rs2-gopass-1.6.11/share/go/src/github.com/justwatchcom/gopass/vendor/golang.org/x/sys/unix/mkall.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash"
checking for references to /build in /nix/store/2ajlm5mh39bvis2fiq3wmz27545j9rs2-gopass-1.6.11...
/nix/store/3qrbw0864fkw92s56r5c6j5wkgl87kdj-gopass-1.6.11-bin

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: gopass

Partial log (click to expand)

patching script interpreter paths in /nix/store/fqafc5yqxfrzm6hlw9iv7wj36q6gcy58-gopass-1.6.11-bin
checking for references to /build in /nix/store/fqafc5yqxfrzm6hlw9iv7wj36q6gcy58-gopass-1.6.11-bin...
shrinking RPATHs of ELF executables and libraries in /nix/store/697kwhrapdzcqrp0ksqq2gylpad6clpy-gopass-1.6.11
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/697kwhrapdzcqrp0ksqq2gylpad6clpy-gopass-1.6.11
/nix/store/697kwhrapdzcqrp0ksqq2gylpad6clpy-gopass-1.6.11/share/go/src/github.com/justwatchcom/gopass/vendor/github.com/gdamore/tcell/terminfo/mkdatabase.sh: interpreter directive changed from "/bin/bash" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/bash"
/nix/store/697kwhrapdzcqrp0ksqq2gylpad6clpy-gopass-1.6.11/share/go/src/github.com/justwatchcom/gopass/vendor/golang.org/x/sys/unix/mkall.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/bash"
/nix/store/697kwhrapdzcqrp0ksqq2gylpad6clpy-gopass-1.6.11/share/go/src/github.com/justwatchcom/gopass/vendor/golang.org/x/sys/unix/mkerrors.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/bash"
checking for references to /build in /nix/store/697kwhrapdzcqrp0ksqq2gylpad6clpy-gopass-1.6.11...
/nix/store/fqafc5yqxfrzm6hlw9iv7wj36q6gcy58-gopass-1.6.11-bin

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: gopass

Partial log (click to expand)

post-installation fixup
strip is /nix/store/0fzpxnsanc02i4jsb1yhchjp4p62b2n3-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/mc6j09f4ic1jlqqa6xa5l90s7v3nisnn-gopass-1.6.11-bin/bin
patching script interpreter paths in /nix/store/mc6j09f4ic1jlqqa6xa5l90s7v3nisnn-gopass-1.6.11-bin
strip is /nix/store/0fzpxnsanc02i4jsb1yhchjp4p62b2n3-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/bzhfhmkv5y1nlmlpxp39pzl8iyygnjh0-gopass-1.6.11
/nix/store/bzhfhmkv5y1nlmlpxp39pzl8iyygnjh0-gopass-1.6.11/share/go/src/github.com/justwatchcom/gopass/vendor/github.com/gdamore/tcell/terminfo/mkdatabase.sh: interpreter directive changed from "/bin/bash" to "/nix/store/x030a63qdilnv02pkivfjg44pdxsh5km-bash-4.4-p19/bin/bash"
/nix/store/bzhfhmkv5y1nlmlpxp39pzl8iyygnjh0-gopass-1.6.11/share/go/src/github.com/justwatchcom/gopass/vendor/golang.org/x/sys/unix/mkall.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/x030a63qdilnv02pkivfjg44pdxsh5km-bash-4.4-p19/bin/bash"
/nix/store/bzhfhmkv5y1nlmlpxp39pzl8iyygnjh0-gopass-1.6.11/share/go/src/github.com/justwatchcom/gopass/vendor/golang.org/x/sys/unix/mkerrors.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/x030a63qdilnv02pkivfjg44pdxsh5km-bash-4.4-p19/bin/bash"
/nix/store/mc6j09f4ic1jlqqa6xa5l90s7v3nisnn-gopass-1.6.11-bin

@Mic92 Mic92 merged commit 86fc330 into NixOS:master Apr 10, 2018
@mkaito mkaito deleted the gopass-completion branch April 10, 2018 10:38
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