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

mkShell {
  buildInputs = [
    sphinxsearch
    (runCommand "searchd" {} ''
      mkdir -p $out/bin
      ln -s ${sphinxsearch}/bin/sphinxsearch-searchd $out/bin/searchd
    '')
  ];
}