summary refs log tree commit diff
path: root/pkgs/build-support/fetchfile/default.nix
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2011-08-31 18:12:33 +0000
committerShea Levy <shea@shealevy.com>2011-08-31 18:12:33 +0000
commit191a4c404ab57be4466e9b2d6ef25c6c77152602 (patch)
tree23000acd1260299138cdb9cf355ab0054ecfc783 /pkgs/build-support/fetchfile/default.nix
parentf7f9b39450877382151dc0bdd10281404780f19f (diff)
parent04b1ac31da9885e3b1893a98e5280b8f9a039652 (diff)
svn path=/nixpkgs/branches/darwin-updates/; revision=28944
Diffstat (limited to 'pkgs/build-support/fetchfile/default.nix')
-rw-r--r--pkgs/build-support/fetchfile/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/fetchfile/default.nix b/pkgs/build-support/fetchfile/default.nix
index 7c811df59c5d4..bdddfab2b4d6d 100644
--- a/pkgs/build-support/fetchfile/default.nix
+++ b/pkgs/build-support/fetchfile/default.nix
@@ -1,5 +1,5 @@
 {stdenv}: {pathname, md5}: stdenv.mkDerivation {
-  name = baseNameOf (toString url);
+  name = baseNameOf (toString pathname);
   builder = ./builder.sh;
   pathname = pathname;
   md5 = md5;