about summary refs log tree commit diff
path: root/pkgs/applications/networking/mailreaders
diff options
context:
space:
mode:
authorJan Malakhovski <oxij@oxij.org>2015-03-31 05:36:28 +0000
committerJan Malakhovski <oxij@oxij.org>2015-03-31 05:36:28 +0000
commitd711528c8bbf36c91675a56365cf3c7578cea557 (patch)
tree86c08888f74f27937fa8df14e4698df7ee37dca1 /pkgs/applications/networking/mailreaders
parent9fc4c556202222cd3e533b95ab75e46fab9bba68 (diff)
downloadnixlib-d711528c8bbf36c91675a56365cf3c7578cea557.tar
nixlib-d711528c8bbf36c91675a56365cf3c7578cea557.tar.gz
nixlib-d711528c8bbf36c91675a56365cf3c7578cea557.tar.bz2
nixlib-d711528c8bbf36c91675a56365cf3c7578cea557.tar.lz
nixlib-d711528c8bbf36c91675a56365cf3c7578cea557.tar.xz
nixlib-d711528c8bbf36c91675a56365cf3c7578cea557.tar.zst
nixlib-d711528c8bbf36c91675a56365cf3c7578cea557.zip
pythonPackages: notmuch: revert 6258728, move sourceRoot setting to top-level notmuch
Looks like this is the only way to do what 6258728318fe55faef64285e614fe97edc7b9111
was expected to do that doesn't break things and doesn't look like a complete hack.

The problem is that different `fetch`ers generate very different results (from
archive files to plain source trees) and allowing overriding `src` in top-level
derivation when there is a derived python package is no trivial matter.
Diffstat (limited to 'pkgs/applications/networking/mailreaders')
-rw-r--r--pkgs/applications/networking/mailreaders/notmuch/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/networking/mailreaders/notmuch/default.nix b/pkgs/applications/networking/mailreaders/notmuch/default.nix
index 43e04ed8a396..4304520383e0 100644
--- a/pkgs/applications/networking/mailreaders/notmuch/default.nix
+++ b/pkgs/applications/networking/mailreaders/notmuch/default.nix
@@ -7,6 +7,10 @@
 stdenv.mkDerivation rec {
   name = "notmuch-0.19";
 
+  passthru = {
+    pythonSourceRoot = "${name}/bindings/python";
+  };
+
   src = fetchurl {
     url = "http://notmuchmail.org/releases/${name}.tar.gz";
     sha256 = "1szf6c44g209pcjq5nvfhlp3nzcm3lrcwv4spsxmwy13hiaccvrr";