about summary refs log tree commit diff
path: root/pkgs/development/libraries/gdk-pixbuf
diff options
context:
space:
mode:
authorLuca Bruno <lethalman88@gmail.com>2014-07-02 20:16:43 +0200
committerLuca Bruno <lethalman88@gmail.com>2014-07-02 20:16:55 +0200
commit421ce6439c2e685065fe9c256b751225de51e0b3 (patch)
tree48a132486c6fcb0417f57a52bc314f731b735291 /pkgs/development/libraries/gdk-pixbuf
parenta4f9b9c8b5ec9ef106671ffdf93e0059835d0ec1 (diff)
downloadnixlib-421ce6439c2e685065fe9c256b751225de51e0b3.tar
nixlib-421ce6439c2e685065fe9c256b751225de51e0b3.tar.gz
nixlib-421ce6439c2e685065fe9c256b751225de51e0b3.tar.bz2
nixlib-421ce6439c2e685065fe9c256b751225de51e0b3.tar.lz
nixlib-421ce6439c2e685065fe9c256b751225de51e0b3.tar.xz
nixlib-421ce6439c2e685065fe9c256b751225de51e0b3.tar.zst
nixlib-421ce6439c2e685065fe9c256b751225de51e0b3.zip
gdk-pixbuf: check for empty $out in setup-hook.sh. Closes #2818
Diffstat (limited to 'pkgs/development/libraries/gdk-pixbuf')
-rw-r--r--pkgs/development/libraries/gdk-pixbuf/setup-hook.sh2
1 files changed, 1 insertions, 1 deletions
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