fork/home-manager

git clone https://git.julia.blue/fork/home-manager

Robert Helgessontests: add option `test.stubs`cb09a968

master
527 B22 linesraw
1{ config, lib, pkgs, ... }:
2
3with lib;
4
5{
6  programs.zsh.prezto.enable = true;
7
8  test.stubs.zsh-prezto = {
9    outPath = null;
10    buildScript = ''
11      mkdir -p $out/share/zsh-prezto/runcoms
12      echo '# zprofile' > $out/share/zsh-prezto/runcoms/zprofile
13      echo '# zlogin' > $out/share/zsh-prezto/runcoms/zlogin
14      echo '# zlogout' > $out/share/zsh-prezto/runcoms/zlogout
15      echo '# zshenv' > $out/share/zsh-prezto/runcoms/zshenv
16    '';
17  };
18
19  nmt.script = ''
20    assertFileExists home-files/.zpreztorc
21  '';
22}