summary refs log tree commit diff
path: root/pkgs/servers/http/tomcat/axis2/builder.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/http/tomcat/axis2/builder.sh')
-rw-r--r--pkgs/servers/http/tomcat/axis2/builder.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/http/tomcat/axis2/builder.sh b/pkgs/servers/http/tomcat/axis2/builder.sh
index d334ab6f927..de8e225456b 100644
--- a/pkgs/servers/http/tomcat/axis2/builder.sh
+++ b/pkgs/servers/http/tomcat/axis2/builder.sh
@@ -1,4 +1,4 @@
-if [ -e .attrs.sh ]; then source .attrs.sh; fi
+if [ -e "$NIX_ATTRS_SH_FILE" ]; then . "$NIX_ATTRS_SH_FILE"; elif [ -f .attrs.sh ]; then . .attrs.sh; fi
 source $stdenv/setup
 
 unzip $src