summary refs log tree commit diff
path: root/pkgs/servers/search/elasticsearch/6.x.nix
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2021-08-02 17:08:40 +0200
committerGitHub <noreply@github.com>2021-08-02 17:08:40 +0200
commit15ffca434eb8c47d472c3508abe10616022b31a4 (patch)
treeb0e73ab8b0c835d2a3c6fe6dfecb547d81661cc4 /pkgs/servers/search/elasticsearch/6.x.nix
parenta476da069049bbdd1630ba1bc66e0ba0512cff15 (diff)
parent5701e5bc3bfb317e1f37ff3fb889eae7584a1206 (diff)
downloadnixpkgs-15ffca434eb8c47d472c3508abe10616022b31a4.tar
nixpkgs-15ffca434eb8c47d472c3508abe10616022b31a4.tar.gz
nixpkgs-15ffca434eb8c47d472c3508abe10616022b31a4.tar.bz2
nixpkgs-15ffca434eb8c47d472c3508abe10616022b31a4.tar.lz
nixpkgs-15ffca434eb8c47d472c3508abe10616022b31a4.tar.xz
nixpkgs-15ffca434eb8c47d472c3508abe10616022b31a4.tar.zst
nixpkgs-15ffca434eb8c47d472c3508abe10616022b31a4.zip
Merge branch 'master' into meshcentral
Diffstat (limited to 'pkgs/servers/search/elasticsearch/6.x.nix')
-rw-r--r--pkgs/servers/search/elasticsearch/6.x.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/servers/search/elasticsearch/6.x.nix b/pkgs/servers/search/elasticsearch/6.x.nix
index 3558fd5935e..4b92592f65d 100644
--- a/pkgs/servers/search/elasticsearch/6.x.nix
+++ b/pkgs/servers/search/elasticsearch/6.x.nix
@@ -13,10 +13,10 @@ with lib;
 
 stdenv.mkDerivation (rec {
   version = elk6Version;
-  name = "elasticsearch-${optionalString (!enableUnfree) "oss-"}${version}";
+  pname = "elasticsearch${optionalString (!enableUnfree) "-oss"}";
 
   src = fetchurl {
-    url = "https://artifacts.elastic.co/downloads/elasticsearch/${name}.tar.gz";
+    url = "https://artifacts.elastic.co/downloads/elasticsearch/${pname}-${version}.tar.gz";
     sha256 =
       if enableUnfree
       then "09dy3iyzk460vra6na6vk7d3mzpbv4cl0pl7kjmybxy947j7hh42"