diff options
author | Florian Friesdorf | 2011-10-14 10:30:14 +0000 |
---|---|---|
committer | Florian Friesdorf | 2011-10-14 10:30:14 +0000 |
commit | d2b089cc0bbd2fb10961d1cbc41d9f6796ccb4e6 (patch) | |
tree | dcfc5cf351449c9c57fa0fb82773b2ac4b05ade4 | |
parent | d6e22c9b4a7151435986a484d780c339a10cb999 (diff) |
notmuch - simplify expression backups/pure-python@34174
svn path=/nixpkgs/trunk/; revision=29834
-rw-r--r-- | pkgs/applications/networking/mailreaders/notmuch/default.nix | 92 |
1 files changed, 33 insertions, 59 deletions
diff --git a/pkgs/applications/networking/mailreaders/notmuch/default.nix b/pkgs/applications/networking/mailreaders/notmuch/default.nix index a9456a30ecc8..dcaaf01c336e 100644 --- a/pkgs/applications/networking/mailreaders/notmuch/default.nix +++ b/pkgs/applications/networking/mailreaders/notmuch/default.nix @@ -10,66 +10,40 @@ stdenv.mkDerivation rec { buildInputs = [ bash emacs gdb git glib gmime gnupg1 pkgconfig talloc xapian ]; - # XXX: Make me a loop patchPhase = '' - # substituteInPlace "test/atomicity" \ - # --replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" - substituteInPlace "test/aggregate-results.sh" \ - --replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" - substituteInPlace "test/author-order" \ - --replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" - substituteInPlace "test/basic" \ - --replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" - substituteInPlace "test/crypto" \ - --replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" - substituteInPlace "test/dump-restore" \ - --replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" - substituteInPlace "test/emacs" \ - --replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" - substituteInPlace "test/emacs-large-search-buffer" \ - --replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" - substituteInPlace "test/encoding" \ - --replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" - substituteInPlace "test/from-guessing" \ - --replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" - substituteInPlace "test/json" \ - --replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" - substituteInPlace "test/long-id" \ - --replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" - substituteInPlace "test/maildir-sync" \ - --replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" - substituteInPlace "test/new" \ - --replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" - substituteInPlace "test/notmuch-test" \ - --replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" - substituteInPlace "test/raw" \ - --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" + (cd test && for prg in \ + aggregate-results.sh \ + author-order \ + basic \ + crypto \ + dump-restore \ + emacs \ + emacs-large-search-buffer \ + encoding \ + from-guessing \ + json \ + long-id \ + maildir-sync \ + new \ + notmuch-test \ + raw \ + reply \ + search \ + search-by-folder \ + search-insufficient-from-quoting \ + search-folder-coherence \ + search-output \ + search-position-overlap-bug \ + symbol-hiding \ + test-lib.sh \ + test-verbose \ + thread-naming \ + thread-order \ + uuencode \ + ;do + substituteInPlace "$prg" \ + --replace "#!/usr/bin/env bash" "#!${bash}/bin/bash" + done) ''; postBuild = '' |