1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-25 19:29:47 +01:00
home-manager/tests/modules/programs/direnv
K900 1e22ef1518
direnv: update for new nushell behavior (#5880)
Nushell 0.98 makes it so external commands returning non-zero
is considered an exception[0]. Wrap the direnv invocation in a
try-catch, so that even if direnv fails, we get the message
from direnv, but not the traceback from nushell.

[0]: https://www.nushell.sh/blog/2024-09-17-nushell_0_98_0.html#non-zero-exit-codes-are-now-errors-toc
2024-09-25 00:39:06 -06:00
..
bash.nix direnv: add initial test for bash integration 2020-06-06 21:40:41 +02:00
default.nix direnv: enable nushell integration 2022-12-28 21:09:31 +01:00
nix-direnv.nix direnv: add nix-direnv to lib instead of sourcing 2024-04-29 00:30:45 +02:00
nushell.nix direnv: update for new nushell behavior (#5880) 2024-09-25 00:39:06 -06:00
stdlib-and-nix-direnv.nix direnv: add nix-direnv to lib instead of sourcing 2024-04-29 00:30:45 +02:00
stdlib.nix direnv: add nix-direnv to lib instead of sourcing 2024-04-29 00:30:45 +02:00