mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
18 lines
386 B
Nix
18 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}'")
|
|
'';
|
|
})
|