summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-03-28 13:15:33 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2021-04-11 01:35:08 +0200
commit06514288d613a9f769618b278a811e03a9420997 (patch)
tree0b6a5736c46b500b48db637c0d0ae875de7e6b78
parent36d4934c3950b5620df654a7d5731ecb7f7486ce (diff)
downloadnixpkgs-06514288d613a9f769618b278a811e03a9420997.tar
nixpkgs-06514288d613a9f769618b278a811e03a9420997.tar.gz
nixpkgs-06514288d613a9f769618b278a811e03a9420997.tar.bz2
nixpkgs-06514288d613a9f769618b278a811e03a9420997.tar.lz
nixpkgs-06514288d613a9f769618b278a811e03a9420997.tar.xz
nixpkgs-06514288d613a9f769618b278a811e03a9420997.tar.zst
nixpkgs-06514288d613a9f769618b278a811e03a9420997.zip
yara: enable additional features
-rw-r--r--pkgs/tools/security/yara/default.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/tools/security/yara/default.nix b/pkgs/tools/security/yara/default.nix
index 844004c3b9e..2e34d9b333b 100644
--- a/pkgs/tools/security/yara/default.nix
+++ b/pkgs/tools/security/yara/default.nix
@@ -6,8 +6,11 @@
 , pkg-config
 , protobufc
 , withCrypto ? true, openssl
-, enableMagic ? true, file
 , enableCuckoo ? true, jansson
+, enableDex ? true
+, enableDotNet ? true
+, enableMacho ? true
+, enableMagic ? true, file
 }:
 
 stdenv.mkDerivation rec {
@@ -46,8 +49,11 @@ stdenv.mkDerivation rec {
 
   configureFlags = [
     (lib.withFeature withCrypto "crypto")
-    (lib.enableFeature enableMagic "magic")
     (lib.enableFeature enableCuckoo "cuckoo")
+    (lib.enableFeature enableDex "dex")
+    (lib.enableFeature enableDotNet "dotnet")
+    (lib.enableFeature enableMacho "macho")
+    (lib.enableFeature enableMagic "magic")
   ];
 
   meta = with lib; {