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-packages.nix
2017-03-11 10:03:37 +01:00

10 lines
225 B
Nix

{ config, pkgs, ... }:
{
environment.systemPackages = [ pkgs.hello ];
test = ''
echo checking hello binary in /sw/bin >&2
test "$(readlink -f ${config.out}/sw/bin/hello)" != "${pkgs.hello}/bin/foo"
'';
}