mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-03 12:09:19 +00:00
Re-scrub derivations returned by override and overrideAttrs so package modules cannot restore real dependency graphs during test evaluation. Adapt affected tests with explicit runtime dependencies, executable mocks, and absence assertions.
27 lines
646 B
Nix
27 lines
646 B
Nix
{
|
|
programs.bash.enable = true;
|
|
programs.fish.enable = true;
|
|
programs.nushell.enable = true;
|
|
programs.zsh.enable = true;
|
|
|
|
sshAuthSock.enable = false;
|
|
|
|
nmt.script = ''
|
|
assertFileNotRegex \
|
|
home-files/.profile \
|
|
'SSH_AUTH_SOCK'
|
|
assertFileNotRegex \
|
|
home-files/.config/fish/config.fish \
|
|
'SSH_AUTH_SOCK'
|
|
assertPathNotExists home-files/.config/nushell/config.nu
|
|
assertFileNotRegex \
|
|
home-files/.zshenv \
|
|
'SSH_AUTH_SOCK'
|
|
assertFileNotRegex \
|
|
home-files/.zprofile \
|
|
'SSH_AUTH_SOCK'
|
|
|
|
assertPathNotExists home-files/.config/systemd/user/set-SSH_AUTH_SOCK.service
|
|
'';
|
|
}
|