1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00
nix-darwin/modules
Ihar Hrachyshka 75d14c62cb gpg: Suppress stderr from gpg-connect-agent on shell init
In some scenarios, the command may fail, e.g. when the shell is executed
with a different $HOME from where gpg agent is configured to run from.

(E.g. this happens in kitty terminal test suite.)

This patch will suppress stderr errors on tty in this situation.

Note that zsh does not allow to suppress execution of /etc/zshenv on
startup, so it's impossible to skip it in the test suite environment.

An alternative would be to set IN_NIX_SHELL in the test suite, but this
was rejected in upstream:

https://github.com/kovidgoyal/kitty/pull/7800

There's also a kitty package specific fix posted here but this may be
unnecessary once nix-darwin is patched here:

https://github.com/NixOS/nixpkgs/pull/338070

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2024-08-29 16:37:56 -04:00
..
documentation Reapply "eval-config: set class" 2024-06-13 14:35:20 +01:00
environment refactor: rename environment.postBuild to environment.extraSetup 2024-08-17 02:50:56 +03:00
examples Add inline prediction option mirroring the capitalization option 2024-07-24 12:51:20 -05:00
fonts fonts: remove fonts.fontDir.enable 2024-06-13 11:56:58 +01:00
launchd Merge pull request #716 from tmillr/fix-launchd-calendar-interval 2024-06-15 09:40:58 +01:00
lib write-text: remove support for copy 2024-06-15 12:15:13 +01:00
misc treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
networking treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
nix Merge pull request #1044 from Enzime/add/known-hash 2024-08-25 14:56:10 +10:00
programs gpg: Suppress stderr from gpg-connect-agent on shell init 2024-08-29 16:37:56 -04:00
security treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
services github-runners: move workDir outside of /run 2024-07-27 10:41:18 +10:00
system Merge pull request #1026 from thecaralice/nochan 2024-08-17 11:59:09 +10:00
time treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
users treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
alias.nix Update def and implementation of nix.package to match NixOS module 2022-08-16 10:41:51 -07:00
homebrew.nix treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
meta.nix treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
module-list.nix (feature) Add Stage Manager (com.apple.WindowManager) settings as system.defaults.windowmanager 2024-08-02 01:17:45 +02:00