1
1
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-11-09 20:38:22 +03:00
nix-darwin/tests/system-path-zsh.nix
2017-10-07 11:19:11 +02:00

13 lines
241 B
Nix

{ config, pkgs, ... }:
{
environment.systemPath = [ pkgs.hello ];
programs.zsh.enable = true;
test = ''
echo checking systemPath in /etc/zshenv >&2
grep 'export PATH=${pkgs.hello}/bin' ${config.out}/etc/zshenv
'';
}