about summary refs log tree commit diff
path: root/pkgs/applications/networking/mailreaders
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2021-11-15 18:50:01 -0500
committerfigsoda <figsoda@pm.me>2021-11-16 08:11:45 -0500
commiteaeed5920f8ccaeddbabe6b828f32fa662531f64 (patch)
tree4f64334e0dc2caf5dc57e1fca2f6901cf6cb99a7 /pkgs/applications/networking/mailreaders
parent2d358196f06cf7cb1cfe403be2f3320dcde94931 (diff)
meli: use buildFeatures
Diffstat (limited to 'pkgs/applications/networking/mailreaders')
-rw-r--r--pkgs/applications/networking/mailreaders/meli/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/networking/mailreaders/meli/default.nix b/pkgs/applications/networking/mailreaders/meli/default.nix
index d0575b60653b1..d4076c88bb8f4 100644
--- a/pkgs/applications/networking/mailreaders/meli/default.nix
+++ b/pkgs/applications/networking/mailreaders/meli/default.nix
@@ -25,14 +25,14 @@ rustPlatform.buildRustPackage rec {
 
   cargoSha256 = "sha256-ZE653OtXyZ9454bKPApmuL2kVko/hGBWEAya1L1KIoc=";
 
-  cargoBuildFlags = lib.optional withNotmuch "--features=notmuch";
-
   nativeBuildInputs = [ pkg-config gzip makeWrapper ];
 
   buildInputs = [ openssl dbus sqlite ] ++ lib.optional withNotmuch notmuch;
 
   checkInputs = [ file ];
 
+  buildFeatures = lib.optional withNotmuch [ "notmuch" ];
+
   postInstall = ''
     mkdir -p $out/share/man/man1
     gzip < docs/meli.1 > $out/share/man/man1/meli.1.gz