mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
kakoune: fix tests
Following https://github.com/NixOS/nixpkgs/pull/91792
This commit is contained in:
parent
9e9d8ffc7c
commit
4cc1b77c3f
2 changed files with 3 additions and 5 deletions
|
@ -7,7 +7,7 @@ with lib;
|
|||
programs.kakoune = { enable = true; };
|
||||
|
||||
nmt.script = ''
|
||||
assertFileNotRegex home-path/share/kak/plugins.kak . # file is empty
|
||||
assertPathNotExists home-path/share/kak/autoload/plugins
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -9,10 +9,8 @@ with lib;
|
|||
plugins = [ pkgs.kakounePlugins.kak-powerline ];
|
||||
};
|
||||
|
||||
nmt.script = let plugins_kak = "home-path/share/kak/plugins.kak";
|
||||
in ''
|
||||
assertFileRegex ${plugins_kak} \
|
||||
'^source "/nix/store/.*-kak-powerline/share/kak/autoload/plugins/powerline/.*.kak"$'
|
||||
nmt.script = ''
|
||||
assertDirectoryNotEmpty home-path/share/kak/autoload/plugins
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue