1import ./make-test-python.nix (
2 { pkgs, ... }:
3 {
4 name = "oh-my-zsh";
5
6 nodes.machine =
7 { pkgs, ... }:
8
9 {
10 programs.zsh = {
11 enable = true;
12 ohMyZsh.enable = true;
13 };
14 };
15
16 testScript = ''
17 start_all()
18 machine.succeed("touch ~/.zshrc")
19 machine.succeed("zsh -c 'source /etc/zshrc && echo $ZSH | grep oh-my-zsh-${pkgs.oh-my-zsh.version}'")
20 '';
21 }
22)