diff --git a/tests/modules/programs/thefuck/integration-disabled.nix b/tests/modules/programs/thefuck/integration-disabled.nix index b69293578..0b5149cb3 100644 --- a/tests/modules/programs/thefuck/integration-disabled.nix +++ b/tests/modules/programs/thefuck/integration-disabled.nix @@ -1,6 +1,10 @@ +{ config, ... }: { programs = { - thefuck.enable = true; + thefuck = { + enable = true; + package = config.lib.test.mkStubPackage { outPath = "@thefuck@"; }; + }; thefuck.enableBashIntegration = false; thefuck.enableFishIntegration = false; thefuck.enableZshIntegration = false; diff --git a/tests/modules/programs/thefuck/integration-enabled-instant.nix b/tests/modules/programs/thefuck/integration-enabled-instant.nix index adc22b229..db9f8bbfc 100644 --- a/tests/modules/programs/thefuck/integration-enabled-instant.nix +++ b/tests/modules/programs/thefuck/integration-enabled-instant.nix @@ -1,7 +1,9 @@ +{ config, ... }: { programs = { thefuck = { enable = true; + package = config.lib.test.mkStubPackage { outPath = "@thefuck@"; }; enableInstantMode = true; }; bash.enable = true; diff --git a/tests/modules/programs/thefuck/integration-enabled.nix b/tests/modules/programs/thefuck/integration-enabled.nix index 7a9e487bd..33062daac 100644 --- a/tests/modules/programs/thefuck/integration-enabled.nix +++ b/tests/modules/programs/thefuck/integration-enabled.nix @@ -1,6 +1,10 @@ +{ config, ... }: { programs = { - thefuck.enable = true; + thefuck = { + enable = true; + package = config.lib.test.mkStubPackage { outPath = "@thefuck@"; }; + }; bash.enable = true; fish.enable = true; zsh.enable = true;