home-manager/tests/modules/programs/mise/fish-integration.nix

17 lines
345 B
Nix
Raw Normal View History

2023-06-07 08:32:56 +00:00
{ config, ... }: {
programs = {
mise = {
package = config.lib.test.mkStubPackage { name = "mise"; };
2023-06-07 08:32:56 +00:00
enable = true;
enableFishIntegration = true;
};
fish.enable = true;
};
nmt.script = ''
assertFileRegex home-files/.config/fish/config.fish '/nix/store/.*mise.*/bin/mise activate fish | source'
2023-06-07 08:32:56 +00:00
'';
}