summary refs log tree commit diff
path: root/pkgs/build-support/fetchsvn
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/build-support/fetchsvn')
-rwxr-xr-xpkgs/build-support/fetchsvn/nix-prefetch-svn2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/fetchsvn/nix-prefetch-svn b/pkgs/build-support/fetchsvn/nix-prefetch-svn
index 3e99e6f5de0..5d779014c5d 100755
--- a/pkgs/build-support/fetchsvn/nix-prefetch-svn
+++ b/pkgs/build-support/fetchsvn/nix-prefetch-svn
@@ -53,7 +53,7 @@ if test -z "$hash"; then
 fi
 
 # Create a Nix expression that does a fetchsvn.
-nixExpr=$(dirname $(readlink -f $0))/../../system/i686-linux.nix
+nixExpr=$(dirname $0)/../../system/i686-linux.nix
 storeExpr=$( \
   echo "(import $nixExpr).fetchsvn {url=\"$url\"; rev=\"$rev\"; md5=\"$hash\";}" \
   | nix-instantiate -)