about summary refs log tree commit diff
path: root/src/nix-regprebuilts
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-regprebuilts')
-rwxr-xr-xsrc/nix-regprebuilts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-regprebuilts b/src/nix-regprebuilts
index af643bf7e9ce..6c9c981eee29 100755
--- a/src/nix-regprebuilts
+++ b/src/nix-regprebuilts
@@ -1,6 +1,6 @@
 #! /usr/bin/perl -w
 
-my $dir = $ENV{"NIX"} . "/prebuilts";
+my $dir = $ARGV[0];
 
 foreach my $prebuilt (glob("$dir/*.tar.bz2")) {