diff options
author | John Wiegley <johnw@newartisans.com> | 2015-12-16 14:10:31 -0800 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2015-12-16 14:10:31 -0800 |
commit | 2cd323a51a6f1657c57003dec47181d01733416f (patch) | |
tree | 724b312bf009bd1d44c69c6ae9937c76d5107c72 /pkgs/tools/security | |
parent | db9bc6875f3ad5e7bddcbeab7124bd5b8fc684c6 (diff) | |
download | nixlib-2cd323a51a6f1657c57003dec47181d01733416f.tar nixlib-2cd323a51a6f1657c57003dec47181d01733416f.tar.gz nixlib-2cd323a51a6f1657c57003dec47181d01733416f.tar.bz2 nixlib-2cd323a51a6f1657c57003dec47181d01733416f.tar.lz nixlib-2cd323a51a6f1657c57003dec47181d01733416f.tar.xz nixlib-2cd323a51a6f1657c57003dec47181d01733416f.tar.zst nixlib-2cd323a51a6f1657c57003dec47181d01733416f.zip |
tor: Allow building on Darwin
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r-- | pkgs/tools/security/tor/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/security/tor/default.nix b/pkgs/tools/security/tor/default.nix index 9e73c7d4053f..a03a945f8052 100644 --- a/pkgs/tools/security/tor/default.nix +++ b/pkgs/tools/security/tor/default.nix @@ -11,7 +11,8 @@ stdenv.mkDerivation rec { # Note: torsocks is specified as a dependency, as the distributed # 'torify' wrapper attempts to use it; although there is no # ./configure time check for any of this. - buildInputs = [ libevent openssl zlib torsocks libseccomp ]; + buildInputs = [ libevent openssl zlib torsocks ] ++ + stdenv.lib.optional stdenv.isLinux libseccomp; NIX_CFLAGS_LINK = stdenv.lib.optionalString stdenv.cc.isGNU "-lgcc_s"; |