Change:
Starting the HyperDex coordinator by running does most of its work by , which must be on . This does not work with the current derivation. This could be fixed either by ensuring replicant is to PATH (would making it a propagated build input be sufficient?) or patching hyperdex to exec replicant by its store path. Install hyperdex, run . It fails. System: 16.03.1242. (Emu) Nix version: nix-env (Nix) 1.11.2 Nixpkgs version: 16.03.1242.
Thanks! Upstream hyperdex is not super maintained and in my experience not stable enough to be used in production. I vote for removing it from nixos. are you relying in hyperdex in nixos or is are you just testing? [1]
I was just testing, not relying on it. Removal sounds okay to me. Alternately, I tested and adding to (in addition to ) fixes the problem.

Discussion:
<del> { stdenv, fetchurl, unzip, autoreconfHook, libpo6, libe, pkgconfig }: stdenv.mkDerivation rec { name = "busybee-${version}"; version = "0.5.2"; src = fetchurl { url = "https://github.com/rescrv/busybee/archive/releases/${version}.zip"; sha256 = "0b51h1kmkf0s3d9y7wjqgp1pk1rk9i7n8bcgyj01kflzdgafbl0b"; }; buildInputs = [ autoreconfHook libe libpo6 pkgconfig unzip ]; meta = with stdenv.lib; { description = "A high-performance messaging layer"; homepage = https://github.com/rescrv/busybee; license = licenses.bsd3; }; } </del>

<del> { stdenv, fetchurl, makeWrapper, unzip, autoreconfHook, autoconf-archive , python, libsodium, pkgconfig, popt, glog, xz, json_c, gperf, yacc , flex, pandoc, help2man, callPackage }: assert stdenv.isLinux; let hyperleveldb = callPackage ./hyperleveldb.nix {}; libpo6 = callPackage ./libpo6.nix {}; libe = callPackage ./libe.nix { inherit libpo6; }; busybee = callPackage ./busybee.nix { inherit libpo6 libe; }; replicant = callPackage ./replicant.nix { inherit libpo6 libe busybee hyperleveldb; }; libmacaroons = callPackage ./libmacaroons.nix { }; in stdenv.mkDerivation rec { name = "hyperdex-${version}"; version = "1.5.0"; src = fetchurl { url = "https://github.com/rescrv/HyperDex/archive/releases/${version}.zip"; sha256 = "0l7w3x6c4nslz5ijmj8xys0k1slwi3s4crxmi16ml1x32bqgzhj7"; }; buildInputs = [ autoreconfHook autoconf-archive busybee glog hyperleveldb json_c libe libmacaroons libpo6 pkgconfig popt python replicant unzip gperf yacc flex help2man pandoc ]; meta = with stdenv.lib; { description = "A scalable, searchable key-value store"; homepage = http://hyperdex.org; license = licenses.bsd3; platforms = platforms.linux; }; } </del>

<del> { stdenv, fetchurl, unzip, autoreconfHook }: stdenv.mkDerivation rec { name = "hyperleveldb-${version}"; version = "1.2.1"; src = fetchurl { url = "https://github.com/rescrv/HyperLevelDB/archive/releases/${version}.zip"; sha256 = "0m5fwl9sc7c6m2zm3zjlxxg7f602gnaryikxgflahhdccdvvr56y"; }; buildInputs = [ unzip autoreconfHook ]; meta = with stdenv.lib; { description = ''A fork of LevelDB intended to meet the needs of HyperDex while remaining compatible with LevelDB.''; homepage = https://github.com/rescrv/HyperLevelDB; license = licenses.bsd3; }; } </del>

<del> { stdenv, fetchurl, unzip, autoreconfHook, libpo6, pkgconfig }: stdenv.mkDerivation rec { name = "libe-${version}"; version = "0.8.1"; src = fetchurl { url = "https://github.com/rescrv/e/archive/releases/${version}.zip"; sha256 = "18xm0hcnqdf0ipfn19jrgzqsxij5xjbbnihhzc57n4v7yfdca1w3"; }; buildInputs = [ unzip autoreconfHook libpo6 pkgconfig ]; meta = with stdenv.lib; { description = "Library containing high-performance datastructures and utilities for C++"; homepage = https://github.com/rescrv/e; license = licenses.bsd3; platforms = [ "x86_64-linux" ]; }; } </del>

<del> { stdenv, fetchurl, unzip, autoreconfHook, pkgconfig, libsodium, python }: stdenv.mkDerivation rec { name = "libmacaroons-${version}"; version = "0.3.0"; src = fetchurl { url = "https://github.com/rescrv/libmacaroons/archive/releases/${version}.zip"; sha256 = "18c44424jri0p5la6jgrnlz5p937hk7ws2mldhzjwisqyf5qld43"; }; buildInputs = [ unzip autoreconfHook python libsodium pkgconfig ]; meta = with stdenv.lib; { description = ''Macaroons are flexible authorization credentials that support decentralized delegation, attenuation, and verification.''; homepage = https://github.com/rescrv/libmacaroons; license = licenses.bsd3; }; } </del>

<del> { stdenv, fetchurl, unzip, autoreconfHook }: stdenv.mkDerivation rec { name = "libpo6-${version}"; version = "0.5.2"; src = fetchurl { url = "https://github.com/rescrv/po6/archive/releases/${version}.zip"; sha256 = "17grzkh6aw1f68qvkhivbb6vwbm6jd41ysbfn88pypf5lczxrxly"; }; buildInputs = [ unzip autoreconfHook ]; meta = with stdenv.lib; { description = "POSIX wrappers for C++"; homepage = https://github.com/rescrv/po6; license = licenses.bsd3; }; } </del>

<del> { stdenv, fetchurl, unzip, autoreconfHook, glog, hyperleveldb, libe, pkgconfig, popt, libpo6, busybee }: stdenv.mkDerivation rec { name = "replicant-${version}"; version = "0.6.3"; src = fetchurl { url = "https://github.com/rescrv/Replicant/archive/releases/${version}.zip"; sha256 = "1q3pdq2ndpj70yd1578bn4grlrp77gl8hv2fz34jpx34qmlalda4"; }; buildInputs = [ autoreconfHook busybee glog hyperleveldb libe libpo6 pkgconfig popt unzip ]; meta = with stdenv.lib; { description = "A system for maintaining replicated state machines"; homepage = https://github.com/rescrv/Replicant; license = licenses.bsd3; }; } </del>

influxdb10 = callPackage ../servers/nosql/influxdb/v1.nix { }; <del> hyperdex = callPackage ../servers/nosql/hyperdex { }; </del> mysql55 = callPackage ../servers/sql/mysql/5.5.x.nix { inherit (darwin) cctools; inherit (darwin.apple_sdk.frameworks) CoreServices;