1
1
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-10-26 22:08:03 +03:00
nix-darwin/tests/system-path-fish.nix
Colin Barrett ae37a8ac7b Fix tests
2017-11-05 12:39:24 -05:00

13 lines
278 B
Nix

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