1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00
nix-darwin/tests/system-path-fish.nix
2017-03-11 22:28:51 +01:00

12 lines
259 B
Nix

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