about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/search/elasticsearch/5.x.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/servers/search/elasticsearch/5.x.nix')
-rw-r--r--nixpkgs/pkgs/servers/search/elasticsearch/5.x.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/servers/search/elasticsearch/5.x.nix b/nixpkgs/pkgs/servers/search/elasticsearch/5.x.nix
index 6142d751dab1..c64687054ab5 100644
--- a/nixpkgs/pkgs/servers/search/elasticsearch/5.x.nix
+++ b/nixpkgs/pkgs/servers/search/elasticsearch/5.x.nix
@@ -5,10 +5,10 @@ with stdenv.lib;
 
 stdenv.mkDerivation rec {
   version = elk5Version;
-  name = "elasticsearch-${version}";
+  pname = "elasticsearch";
 
   src = fetchurl {
-    url = "https://artifacts.elastic.co/downloads/elasticsearch/${name}.tar.gz";
+    url = "https://artifacts.elastic.co/downloads/elasticsearch/${pname}-${version}.tar.gz";
     sha256 = "0zy7awb2cm2fk3c7zc7v8b8pl0jw49awqwpa1jvilmvx6dcml0vb";
   };