mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-09 10:16:55 +00:00
Instead of having to manually stub packages that should not be downloaded we instead automatically stub all packages (except a small list of whitelisted ones). Tests can re-introduce the real package by using the `realPkgs` module argument.
19 lines
607 B
Nix
19 lines
607 B
Nix
{
|
|
programs = {
|
|
thefuck.enable = true;
|
|
thefuck.enableBashIntegration = false;
|
|
thefuck.enableFishIntegration = false;
|
|
thefuck.enableZshIntegration = false;
|
|
thefuck.enableNushellIntegration = false;
|
|
bash.enable = true;
|
|
zsh.enable = true;
|
|
nushell.enable = true;
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileNotRegex home-files/.bashrc '@thefuck@/bin/thefuck'
|
|
assertPathNotExists home-files/.config/fish/functions/fuck.fish
|
|
assertFileNotRegex home-files/.zshrc '@thefuck@/bin/thefuck'
|
|
assertFileNotRegex home-files/.config/nushell/config.nu '@thefuck@/bin/thefuck'
|
|
'';
|
|
}
|