zsh-prezto: remove package dependency in test

This commit is contained in:
Robert Helgesson 2020-11-14 10:37:35 +01:00
parent fe849640ad
commit b5e7817de2
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -6,6 +6,18 @@ with lib;
config = {
programs.zsh.prezto.enable = true;
nixpkgs.overlays = [
(self: super: {
zsh-prezto = super.runCommandLocal "dummy-zsh-prezto" { } ''
mkdir -p $out/runcoms
echo '# zprofile' > $out/runcoms/zprofile
echo '# zlogin' > $out/runcoms/zlogin
echo '# zlogout' > $out/runcoms/zlogout
echo '# zshenv' > $out/runcoms/zshenv
'';
})
];
nmt.script = ''
assertFileExists home-files/.zpreztorc
'';