@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, openssl, libtool, perl, libxml2
1+{ stdenv, lib, fetchurl, openssl, libtool, perl, libxml2
22, libseccomp ? null }:
33
44let version = "9.10.4-P3"; in
@@ -33,8 +33,7 @@ stdenv.mkDerivation rec {
3333 "--without-pkcs11"
3434 "--without-purify"
3535 "--without-python"
36− "--enable-seccomp"
37− ];
36+ ] ++ lib.optional (stdenv.isi686 || stdenv.isx86_64) "--enable-seccomp";
3837
3938 postInstall = ''
4039 moveToOutput bin/bind9-config $dev