home-manager/tests/modules/programs/scmpuff/no-bash.nix
Robert Helgesson 7529a2674a
scmpuff: clean up tests
Stub the scmpuff package. Also remove unnecessary `config` wrapping.
2023-02-07 22:19:10 +01:00

18 lines
259 B
Nix

{ ... }:
{
programs = {
scmpuff = {
enable = true;
enableBashIntegration = false;
};
bash.enable = true;
};
test.stubs.scmpuff = { };
nmt.script = ''
assertFileNotRegex home-files/.bashrc '@scmpuff@/bin/scmpuff'
'';
}