diff options
Diffstat (limited to 'pkgs/build-support/fetchzip/default.nix')
-rw-r--r-- | pkgs/build-support/fetchzip/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/fetchzip/default.nix b/pkgs/build-support/fetchzip/default.nix index ffdf45a186581..46e7d917160c7 100644 --- a/pkgs/build-support/fetchzip/default.nix +++ b/pkgs/build-support/fetchzip/default.nix @@ -28,7 +28,7 @@ lib.overrideDerivation (fetchurl ({ mkdir "$unpackDir" cd "$unpackDir" - renamed="$TMPDIR/$name" + renamed="$TMPDIR/${baseNameOf url}" mv "$downloadedFile" "$renamed" unpackFile "$renamed" |