From a31347d6ec79f9002cf86b19869756642196eef6 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Wed, 12 Jul 2017 18:17:19 -0400 Subject: [PATCH] release: don't build libseccomp if we're on darwin --- release.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release.nix b/release.nix index 96443760..da5f1673 100644 --- a/release.nix +++ b/release.nix @@ -27,8 +27,8 @@ let [ curl bison flex perl libxml2 libxslt bzip2 xz dblatex (dblatex.tex or tetex) nukeReferences pkgconfig sqlite libsodium docbook5 docbook5_xsl - libseccomp - ] ++ lib.optional (!lib.inNixShell) git; + ] ++ lib.optional stdenv.isLinux libseccomp + ++ lib.optional (!lib.inNixShell) git; configureFlags = '' --with-dbi=${perlPackages.DBI}/${perl.libPrefix}