aboutsummaryrefslogtreecommitdiff
path: root/scripts/nix-http-export.cgi.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/nix-http-export.cgi.in')
-rwxr-xr-xscripts/nix-http-export.cgi.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-http-export.cgi.in b/scripts/nix-http-export.cgi.in
index ac28260d9..db2fe78b4 100755
--- a/scripts/nix-http-export.cgi.in
+++ b/scripts/nix-http-export.cgi.in
@@ -16,7 +16,7 @@ needed_path="$(echo $needed_path | sed -e 's/%2B/+/g; s/%3D/=/g')"
echo needed_path: "$needed_path" >&2
-NIX_STORE="${NIX_STORE:-/nix/store}"
+NIX_STORE="${NIX_STORE_DIR:-/nix/store}"
echo NIX_STORE: "${NIX_STORE}" >&2