home-manager/tests/modules/programs/scmpuff/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
279 B
Nix

{ ... }:
{
programs = {
scmpuff.enable = true;
bash.enable = true;
};
test.stubs.scmpuff = { };
nmt.script = ''
assertFileExists home-files/.bashrc
assertFileContains \
home-files/.bashrc \
'eval "$(@scmpuff@/bin/scmpuff init -s)"'
'';
}