{ pkgs ? import <nixpkgs> {} }:
with pkgs;

buildEnv {
  name = "unprefixed-sphinx";
  paths = [
    sphinxsearch
    (runCommand "searchd" {} ''
      mkdir -p $out/bin
      ln -s ${sphinxsearch}/bin/sphinxsearch-searchd $out/bin/searchd
    '')
  ];
}