diff options
author | Ben Gamari <ben@smart-cactus.org> | 2017-10-27 18:23:15 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2018-01-22 20:25:43 -0500 |
commit | 2e4124c8c9acaaee44e543d563401f4f5229e423 (patch) | |
tree | 7ac80ea6c36a6700efaf81a7a5dceab098fea144 /pkgs/development/libraries/libdaemon | |
parent | f83bf0e79dc83f4375742839eee6634cb64c1e1b (diff) |
libdaemon: Enable cross-compilation
Diffstat (limited to 'pkgs/development/libraries/libdaemon')
-rw-r--r-- | pkgs/development/libraries/libdaemon/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libdaemon/default.nix b/pkgs/development/libraries/libdaemon/default.nix index 07d5b77efc4fb..af832a70a73bc 100644 --- a/pkgs/development/libraries/libdaemon/default.nix +++ b/pkgs/development/libraries/libdaemon/default.nix @@ -8,7 +8,11 @@ stdenv.mkDerivation rec { sha256 = "0d5qlq5ab95wh1xc87rqrh1vx6i8lddka1w3f1zcqvcqdxgyn8zx"; }; - configureFlags = [ "--disable-lynx" ]; + configureFlags = [ "--disable-lynx" ] + ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) + [ # Can't run this test while cross-compiling + "ac_cv_func_setpgrp_void=yes" + ]; meta = { description = "Lightweight C library that eases the writing of UNIX daemons"; |