1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00
nix-darwin/tests
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
..
fixtures/system-defaults-write (feature) Add Stage Manager (com.apple.WindowManager) settings as system.defaults.windowmanager 2024-08-02 01:17:45 +02:00
activation-scripts.nix activation-scripts: add test for pre/post hooks 2018-01-14 16:08:27 +01:00
autossh.nix port autossh service from nixos 2019-07-02 10:44:34 -04:00
checks-nix-gc.nix tests: fix uses of ! 2023-08-05 23:30:16 +01:00
environment-path.nix environment: Test how order of systemPath and profiles manifests 2024-05-23 09:55:35 -04:00
environment-terminfo.nix Type: TERMINFO_DIRS not TERMINFO 2022-10-20 14:49:26 -06:00
fonts.nix fonts: remove fonts.fontDir.enable 2024-06-13 11:56:58 +01:00
homebrew.nix Add somes tests for homebrew module 2022-08-30 13:30:05 -07:00
launchd-daemons.nix launchd: add basic test for daemons/agents 2019-03-22 20:49:53 +01:00
launchd-setenv.nix launchd: add test for envVariables 2017-05-14 00:43:45 +02:00
networking-hostname.nix tests/networking-hostname: update for lib.escapeShellArg change 2024-09-10 22:11:20 +01:00
networking-networkservices.nix networking: rename networkservices -> knownNetworkServices 2018-01-13 02:13:51 +01:00
networking-shell-escape.nix fix shell escaping in networking config 2024-01-19 12:16:32 -05:00
nixpkgs-overlays.nix tests: fix uses of ! 2023-08-05 23:30:16 +01:00
programs-ssh-empty-known-hosts.nix programs.ssh: write ssh known_hosts only if there are any set 2023-09-15 08:24:20 -07:00
programs-ssh.nix ssh: use symlinks for authorizedKeys options 2024-06-15 12:15:13 +01:00
programs-tmux.nix tmux: add test for #173 2019-11-02 17:18:39 +01:00
programs-zsh.nix {bash,zsh}: remove nix-shell early return in /etc/{bashrc,zshenv} 2024-09-12 17:37:56 +00:00
security-pki.nix security.pki: add test for ca-certificates.crt 2019-01-15 22:14:56 +01:00
services-activate-system-changed-label-prefix.nix launchd: allow customization of the default launchd prefix 2020-04-14 15:01:37 -07:00
services-activate-system.nix add test for activate-system service 2017-05-14 01:31:22 +02:00
services-buildkite-agent.nix buildkite-agent: update module 2023-05-10 16:26:20 +08:00
services-dnsmasq.nix fix: use separate config option to set port of DNSmasq 2021-01-28 14:09:30 +01:00
services-eternal-terminal.nix eternal-terminal: add module 2023-07-23 08:20:28 -04:00
services-github-runners.nix github-runners: adapt to NixOS module 2024-02-28 09:40:25 +01:00
services-jankyborders.nix module: add jankyborders service 2024-07-21 02:54:45 +05:30
services-lorri.nix add git, gnutar and gzip to lorri's path 2020-11-05 11:43:50 +01:00
services-nextdns.nix nextdns: fix argument handling 2024-07-08 16:36:31 -03:00
services-nix-daemon.nix tests: fix uses of ! 2023-08-05 23:30:16 +01:00
services-nix-gc.nix tests: fix uses of ! 2023-08-05 23:30:16 +01:00
services-nix-optimise.nix Add nix.optimise module 2024-03-27 12:50:04 -07:00
services-ofborg.nix ofborg: add basic test 2018-03-05 23:00:50 +01:00
services-offlineimap.nix Fix args passing to execvp 2018-08-01 19:40:59 +02:00
services-privoxy.nix Add a privoxy service 2018-08-02 10:09:22 +10:00
services-redis.nix Add some test coverage for redis service 2020-11-02 19:26:39 -08:00
services-skhd.nix skhd: add basic test 2018-03-05 21:41:52 +01:00
services-spacebar.nix module: add spacebar service 2020-05-14 19:41:28 +01:00
services-spotifyd.nix spotifyd: add spotifyd service 2021-03-11 04:20:00 +00:00
services-synapse-bt.nix synapse-bt: Add basic test 2018-09-15 15:37:22 -05:00
services-synergy.nix synergy: Add tests for config options 2018-09-14 21:01:08 +10:00
services-yabai.nix Separate yabai config and extra config by newline 2020-05-15 15:38:57 -04:00
sockets-nix-daemon.nix tests: fix uses of ! 2023-08-05 23:30:16 +01:00
system-defaults-write.nix (feature) Add Stage Manager (com.apple.WindowManager) settings as system.defaults.windowmanager 2024-08-02 01:17:45 +02:00
system-environment.nix Combine system environment tests and add zsh 2018-10-29 09:12:20 +09:00
system-keyboard-mapping.nix (feature) Add swapLeftCtrlAndFn 2024-08-05 13:00:32 +02:00
system-packages.nix system-packages: fix test 2019-01-18 23:36:15 +01:00
system-path.nix Unify environment configuration and don't run in child shells 2018-10-25 01:00:52 +09:00
system-shells.nix add test for environment.shells 2017-12-13 23:05:46 +01:00
users-groups.nix tests/users-groups: update for lib.escapeShellArg change 2024-09-10 22:50:01 +01:00
users-packages.nix users.users: only extend profiles if packages are defined 2019-02-23 12:00:39 +01:00