release: don't build libseccomp if we're on darwin

This commit is contained in:
Graham Christensen 2017-07-12 18:17:19 -04:00
parent c4f349d572
commit a31347d6ec
No known key found for this signature in database
GPG Key ID: 06121D366FE9435C
1 changed files with 2 additions and 2 deletions

View File

@ -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}