home-manager/tests/modules/programs/kakoune/stubs.nix
Robert Helgesson 2917ef23b3
kakoune: clean up tests
- Enable use-plugins test.

- Stub out `kakoune-unwrapped` to avoid unnecessary downloads.

- Unwrap unnecessary `config` attributes.
2021-11-07 09:43:42 +01:00

12 lines
236 B
Nix

{
test.stubs.kakoune-unwrapped = {
name = "dummy-kakoune";
version = "1";
outPath = null;
buildScript = ''
mkdir -p $out/bin $out/share/kak/doc
touch $out/bin/kak
chmod +x $out/bin/kak
'';
};
}