3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/tests/oh-my-zsh.nix
2020-11-04 20:37:50 -05:00

19 lines
386 B
Nix

import ./make-test-python.nix ({ pkgs, ... }: {
name = "oh-my-zsh";
machine = { pkgs, ... }:
{
programs.zsh = {
enable = true;
ohMyZsh.enable = true;
};
};
testScript = ''
start_all()
machine.succeed("touch ~/.zshrc")
machine.succeed("zsh -c 'source /etc/zshrc && echo $ZSH | grep oh-my-zsh-${pkgs.oh-my-zsh.version}'")
'';
})