notmuch - simplify expression

svn path=/nixpkgs/trunk/; revision=29834
This commit is contained in:
Florian Friesdorf 2011-10-14 10:30:14 +00:00
parent d6e22c9b4a
commit d2b089cc0b

View File

@ -10,66 +10,40 @@ stdenv.mkDerivation rec {
buildInputs = [ bash emacs gdb git glib gmime gnupg1 pkgconfig talloc xapian ]; buildInputs = [ bash emacs gdb git glib gmime gnupg1 pkgconfig talloc xapian ];
# XXX: Make me a loop
patchPhase = '' patchPhase = ''
# substituteInPlace "test/atomicity" \ (cd test && for prg in \
# --replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" aggregate-results.sh \
substituteInPlace "test/aggregate-results.sh" \ author-order \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" basic \
substituteInPlace "test/author-order" \ crypto \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" dump-restore \
substituteInPlace "test/basic" \ emacs \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" emacs-large-search-buffer \
substituteInPlace "test/crypto" \ encoding \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" from-guessing \
substituteInPlace "test/dump-restore" \ json \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" long-id \
substituteInPlace "test/emacs" \ maildir-sync \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" new \
substituteInPlace "test/emacs-large-search-buffer" \ notmuch-test \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" raw \
substituteInPlace "test/encoding" \ reply \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" search \
substituteInPlace "test/from-guessing" \ search-by-folder \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" search-insufficient-from-quoting \
substituteInPlace "test/json" \ search-folder-coherence \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" search-output \
substituteInPlace "test/long-id" \ search-position-overlap-bug \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" symbol-hiding \
substituteInPlace "test/maildir-sync" \ test-lib.sh \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" test-verbose \
substituteInPlace "test/new" \ thread-naming \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" thread-order \
substituteInPlace "test/notmuch-test" \ uuencode \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" ;do
substituteInPlace "test/raw" \ substituteInPlace "$prg" \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash"
substituteInPlace "test/reply" \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash"
substituteInPlace "test/search" \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash"
substituteInPlace "test/search-by-folder" \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash"
substituteInPlace "test/search-insufficient-from-quoting" \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash"
substituteInPlace "test/search-folder-coherence" \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash"
substituteInPlace "test/search-output" \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash"
substituteInPlace "test/search-position-overlap-bug" \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash"
substituteInPlace "test/symbol-hiding" \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash"
substituteInPlace "test/test-lib.sh" \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash"
substituteInPlace "test/test-verbose" \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash"
substituteInPlace "test/thread-naming" \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash"
substituteInPlace "test/thread-order" \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash"
substituteInPlace "test/uuencode" \
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" --replace "#!/usr/bin/env bash" "#!${bash}/bin/bash"
done)
''; '';
postBuild = '' postBuild = ''