From e812130e5decd51e9fad04941364b1445747a1ac Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Fri, 18 Jan 2019 23:36:15 +0100 Subject: [PATCH] system-packages: fix test --- tests/system-packages.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/system-packages.nix b/tests/system-packages.nix index 0a51813..39a8b0e 100644 --- a/tests/system-packages.nix +++ b/tests/system-packages.nix @@ -8,14 +8,14 @@ let in { - environment.systemPackages = [ pkgs.hello ]; + environment.systemPackages = [ hello ]; test = '' echo checking hello binary in /sw/bin >&2 test -e ${config.out}/sw/bin/hello - test "$(readlink -f ${config.out}/sw/bin/hello)" = "${pkgs.hello}/bin/hello" + test "$(readlink -f ${config.out}/sw/bin/hello)" = "${hello}/bin/hello" echo checking for unexpected paths in /sw/bin >&2 - ! test -e ${config.out}/sw/lib/libhello.dylib + test -e ${config.out}/sw/lib/libhello.dylib && return ''; }