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/programs
Antoine Cotten 953d02ba59
{bash,zsh}: remove nix-shell early return in /etc/{bashrc,zshenv}
The condition does not match the comment, and therefore not the original
intention. It currently returns early in *any* type of Nix shell, not
just pure ones, including 'nix develop'.

Besides being unnecessary, this check prevents Nix shells from
functioning properly. For instance, it causes the initialization of the
Zsh fpath to be skipped, which is critical. The fact that the user is
unable to opt out of this behaviour makes this an ever bigger problem
since /etc/zshenv is being loaded unconditionally by Zsh.

For reference, NixOS does not perform such check, and apparently never
did.
2024-09-12 17:37:56 +00:00
..
bash {bash,zsh}: remove nix-shell early return in /etc/{bashrc,zshenv} 2024-09-12 17:37:56 +00:00
info refactor: rename environment.postBuild to environment.extraSetup 2024-08-17 02:50:56 +03:00
nix-index treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
ssh programs.ssh: add certificate authorities 2024-07-31 19:34:17 +02:00
zsh {bash,zsh}: remove nix-shell early return in /etc/{bashrc,zshenv} 2024-09-12 17:37:56 +00:00
direnv.nix chore: remove mkpackageoptionmd deprecation 2024-07-01 16:24:41 +02:00
fish.nix mapAttrsFlatten -> mapAttrsToList 2024-07-27 13:37:28 +10:00
gnupg.nix gpg: Suppress stderr from gpg-connect-agent on shell init 2024-08-29 16:37:56 -04:00
man.nix treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
tmux.nix treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
vim.nix treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00