repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
vuls: init at 0.27.0
[NixPkgs.git]
/
nixos
/
tests
/
oh-my-zsh.nix
blob
1d5227e36236d8600e7f947cf163cf8f05e3ffde
1
import ./make-test-python.nix ({ pkgs, ... }: {
2
name = "oh-my-zsh";
3
4
nodes.machine = { pkgs, ... }:
5
6
{
7
programs.zsh = {
8
enable = true;
9
ohMyZsh.enable = true;
10
};
11
};
12
13
testScript = ''
14
start_all()
15
machine.succeed("touch ~/.zshrc")
16
machine.succeed("zsh -c 'source /etc/zshrc && echo $ZSH | grep oh-my-zsh-${pkgs.oh-my-zsh.version}'")
17
'';
18
})