From 421ce6439c2e685065fe9c256b751225de51e0b3 Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Wed, 2 Jul 2014 20:16:43 +0200 Subject: gdk-pixbuf: check for empty $out in setup-hook.sh. Closes #2818 --- pkgs/development/libraries/gdk-pixbuf/setup-hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/development/libraries/gdk-pixbuf') diff --git a/pkgs/development/libraries/gdk-pixbuf/setup-hook.sh b/pkgs/development/libraries/gdk-pixbuf/setup-hook.sh index c983f9f6a612..06e820633b84 100644 --- a/pkgs/development/libraries/gdk-pixbuf/setup-hook.sh +++ b/pkgs/development/libraries/gdk-pixbuf/setup-hook.sh @@ -1,6 +1,6 @@ findGdkPixbufLoaders() { - if [ -z "$IN_NIX_SHELL" ]; then + if [ -n "$out" ] && [ -z "$IN_NIX_SHELL" ]; then # set pixbuf loaders.cache for this package -- cgit 1.4.1