diff --git a/tests/modules/programs/zsh/prezto.nix b/tests/modules/programs/zsh/prezto.nix index 118c2e726..cc173bab8 100644 --- a/tests/modules/programs/zsh/prezto.nix +++ b/tests/modules/programs/zsh/prezto.nix @@ -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 '';