summary refs log tree commit diff
path: root/pkgs
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
parenta4f9b9c8b5ec9ef106671ffdf93e0059835d0ec1 (diff)
downloadnixpkgs-421ce6439c2e685065fe9c256b751225de51e0b3.tar
nixpkgs-421ce6439c2e685065fe9c256b751225de51e0b3.tar.gz
nixpkgs-421ce6439c2e685065fe9c256b751225de51e0b3.tar.bz2
nixpkgs-421ce6439c2e685065fe9c256b751225de51e0b3.tar.lz
nixpkgs-421ce6439c2e685065fe9c256b751225de51e0b3.tar.xz
nixpkgs-421ce6439c2e685065fe9c256b751225de51e0b3.tar.zst
nixpkgs-421ce6439c2e685065fe9c256b751225de51e0b3.zip
gdk-pixbuf: check for empty $out in setup-hook.sh. Closes #2818
Diffstat (limited to 'pkgs')
-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 c983f9f6a61..06e820633b8 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