1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-13 12:31:07 +01:00

tests/thefuck: explicit stubbing

Avoid the removal alias exception

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2025-06-06 08:48:50 -05:00
parent b2483b45e6
commit 812b43b45d
3 changed files with 12 additions and 2 deletions

View file

@ -1,6 +1,10 @@
{ config, ... }:
{ {
programs = { programs = {
thefuck.enable = true; thefuck = {
enable = true;
package = config.lib.test.mkStubPackage { outPath = "@thefuck@"; };
};
thefuck.enableBashIntegration = false; thefuck.enableBashIntegration = false;
thefuck.enableFishIntegration = false; thefuck.enableFishIntegration = false;
thefuck.enableZshIntegration = false; thefuck.enableZshIntegration = false;

View file

@ -1,7 +1,9 @@
{ config, ... }:
{ {
programs = { programs = {
thefuck = { thefuck = {
enable = true; enable = true;
package = config.lib.test.mkStubPackage { outPath = "@thefuck@"; };
enableInstantMode = true; enableInstantMode = true;
}; };
bash.enable = true; bash.enable = true;

View file

@ -1,6 +1,10 @@
{ config, ... }:
{ {
programs = { programs = {
thefuck.enable = true; thefuck = {
enable = true;
package = config.lib.test.mkStubPackage { outPath = "@thefuck@"; };
};
bash.enable = true; bash.enable = true;
fish.enable = true; fish.enable = true;
zsh.enable = true; zsh.enable = true;