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/launchd-setenv.nix
2017-05-14 00:43:45 +02:00

10 lines
192 B
Nix

{ config, pkgs, ... }:
{
launchd.envVariables.FOO = "42";
test = ''
echo checking launchd setenv in /activate >&2
grep "launchctl setenv FOO '42'" ${config.out}/activate
'';
}