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

pass: fix clipboard functionality for darwin #24797

Merged
merged 1 commit into from Apr 13, 2017

Conversation

nixy
Copy link
Contributor

@nixy nixy commented Apr 10, 2017

Add the patch that was removed that allows pass's clip() function to
work with single binary coreutils. This version of the patch is also
applied to darwin.sh, so this should fix the clipboard functionality in
darwin as well.

Motivation for this change

Currently pass -c doesn't work correctly on Darwin. The patch that made it work on Linux systems was removed in the update to 1.7, potentially because this issue had been resolved on Linux. This still affects macOS users who need this patch though. Some of this was discussed in #17296 and #17267

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
    • Linux
  • 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.

Add the patch that was removed that allows pass's clip() function to
work with single binary coreutils. This version of the patch is also
applied to darwin.sh, so this should fix the clipboard functionality in
darwin as well.
@mention-bot
Copy link

@nixy, thanks for your PR! By analyzing the history of the files in this pull request, we identified @abbradar, @fpletz and @the-kenny to be potential reviewers.

@matthewbauer
Copy link
Member

Looks good, but is there a way we can get this patch moved upstream? Single-binary coreutils should be common enough for them to support.

@Mic92
Copy link
Member

Mic92 commented Apr 11, 2017

ping @zx2c4

@Mic92
Copy link
Member

Mic92 commented Apr 11, 2017

@LnL7 LnL7 added the 6.topic: darwin Running or building packages on Darwin label Apr 13, 2017
@LnL7 LnL7 merged commit 4a913ec into NixOS:master Apr 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: darwin Running or building packages on Darwin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants