git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #22848 from loskutov/gpgme-macos-fix
75bc511Graham Christensen
pkgs/development/libraries/gpgme/default.nix+3
@@ -30,6 +30,9 @@ stdenv.mkDerivation rec {
30 NIX_CFLAGS_COMPILE =
30 NIX_CFLAGS_COMPILE =
31 with stdenv; lib.optional (system == "i686-linux") "-D_FILE_OFFSET_BITS=64";
31 with stdenv; lib.optional (system == "i686-linux") "-D_FILE_OFFSET_BITS=64";
32
32
33+ AM_CXXFLAGS =
34+ with stdenv; lib.optional (isDarwin) "-D_POSIX_C_SOURCE=200809L";
35+
33 meta = with stdenv.lib; {
36 meta = with stdenv.lib; {
34 homepage = "http://www.gnupg.org/related_software/gpgme";
37 homepage = "http://www.gnupg.org/related_software/gpgme";
35 description = "Library for making GnuPG easier to use";
38 description = "Library for making GnuPG easier to use";