diff options
author | arcnmx <arcnmx@users.noreply.github.com> | 2022-01-22 09:02:44 -0800 |
---|---|---|
committer | arcnmx <arcnmx@users.noreply.github.com> | 2022-01-22 09:08:19 -0800 |
commit | ed4ac9fc55a3875cd223a69518e03290d5038497 (patch) | |
tree | bf15510b047150bc16b6131843a3e0c89c558e3d | |
parent | 9b8de39d04811cdddd367838e6ea3733963bc5a2 (diff) |
notmuch: place ruby bindings in their own output
-rw-r--r-- | pkgs/applications/networking/mailreaders/notmuch/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/networking/mailreaders/notmuch/default.nix b/pkgs/applications/networking/mailreaders/notmuch/default.nix index e39e713efd7bb..aa46529bdbace 100644 --- a/pkgs/applications/networking/mailreaders/notmuch/default.nix +++ b/pkgs/applications/networking/mailreaders/notmuch/default.nix @@ -65,7 +65,9 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; makeFlags = [ "V=1" ]; - outputs = [ "out" "man" "info" ] ++ lib.optional withEmacs "emacs"; + outputs = [ "out" "man" "info" ] + ++ lib.optional withEmacs "emacs" + ++ lib.optional withRuby "ruby"; preCheck = let test-database = fetchurl { @@ -90,7 +92,7 @@ stdenv.mkDerivation rec { moveToOutput bin/notmuch-emacs-mua $emacs '' + lib.optionalString withRuby '' make -C bindings/ruby install \ - vendordir=$out/lib/ruby \ + vendordir=$ruby/lib/ruby \ SHELL=$SHELL \ $makeFlags "''${makeFlagsArray[@]}" \ $installFlags "''${installFlagsArray[@]}" |