anchor.diff:      mkdir -p "$out/share/emacs/site-lisp"
       cp "contrib/emacs/password-store.el" "$out/share/emacs/site-lisp/"
   
  -    PREFIX="$out" make install
  +    ${if withX then ''
  +      cp "contrib/dmenu/passmenu" "$out/bin/"
  +    '' else ""}
     '';
   
     postFixup = ''
  
positive.code:   };
  
    installPhase = ''
      mkdir -p "$out/share/bash-completion/completions"
      mkdir -p "$out/share/zsh/site-functions"
      mkdir -p "$out/share/fish/completions"
  
negative.code: { stdenv, fetchurl
  , coreutils, gnused, getopt, pwgen, git, tree, gnupg
  , makeWrapper
  , withX ? true, xclip ? null, xdotool ? null
  }:
  
  assert withX -> xclip != null;
  assert withX -> xdotool != null;
  
  stdenv.mkDerivation rec {
    version = "1.6.3";
  