summary refs log tree commit diff
path: root/nixos/modules/services/search
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-10-06 15:32:17 +0200
committerVladimír Čunát <vcunat@gmail.com>2015-10-13 20:18:48 +0200
commit99e4371526a9cc48f1f10e2e9f144e3e839ad709 (patch)
tree1cc37b42aae06673023c0e7c4168dda47d12f182 /nixos/modules/services/search
parente71c9cfaa23ddaffc03667e2020cf2ee6bd71fb7 (diff)
downloadnixlib-99e4371526a9cc48f1f10e2e9f144e3e839ad709.tar
nixlib-99e4371526a9cc48f1f10e2e9f144e3e839ad709.tar.gz
nixlib-99e4371526a9cc48f1f10e2e9f144e3e839ad709.tar.bz2
nixlib-99e4371526a9cc48f1f10e2e9f144e3e839ad709.tar.lz
nixlib-99e4371526a9cc48f1f10e2e9f144e3e839ad709.tar.xz
nixlib-99e4371526a9cc48f1f10e2e9f144e3e839ad709.tar.zst
nixlib-99e4371526a9cc48f1f10e2e9f144e3e839ad709.zip
curl: split into multiple outputs
Also use pkgconfig to be safer and fix (some) referrers.
Diffstat (limited to 'nixos/modules/services/search')
-rw-r--r--nixos/modules/services/search/elasticsearch.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/search/elasticsearch.nix b/nixos/modules/services/search/elasticsearch.nix
index 3436bd01d848..968739877074 100644
--- a/nixos/modules/services/search/elasticsearch.nix
+++ b/nixos/modules/services/search/elasticsearch.nix
@@ -142,7 +142,7 @@ in {
         ln -s ${esPlugins}/plugins ${cfg.dataDir}/plugins
       '';
       postStart = mkBefore ''
-        until ${pkgs.curl}/bin/curl -s -o /dev/null ${cfg.host}:${toString cfg.port}; do
+        until ${pkgs.curl.bin}/bin/curl -s -o /dev/null ${cfg.host}:${toString cfg.port}; do
           sleep 1
         done
       '';