summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2016-10-10 13:37:05 -0500
committerThomas Tuegel <ttuegel@gmail.com>2016-10-10 13:37:24 -0500
commitda9c6a7744f3e0aad6677357bffb30cd7fe7d92c (patch)
treecb9c4d4573b92d9688738539e0b7575509a45a68 /pkgs/development/libraries
parentc4dd3d9b246b2a1cfdac7d9500e0cad235e660ce (diff)
downloadnixlib-da9c6a7744f3e0aad6677357bffb30cd7fe7d92c.tar
nixlib-da9c6a7744f3e0aad6677357bffb30cd7fe7d92c.tar.gz
nixlib-da9c6a7744f3e0aad6677357bffb30cd7fe7d92c.tar.bz2
nixlib-da9c6a7744f3e0aad6677357bffb30cd7fe7d92c.tar.lz
nixlib-da9c6a7744f3e0aad6677357bffb30cd7fe7d92c.tar.xz
nixlib-da9c6a7744f3e0aad6677357bffb30cd7fe7d92c.tar.zst
nixlib-da9c6a7744f3e0aad6677357bffb30cd7fe7d92c.zip
gpgme: fix build on i686-linux
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/gpgme/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gpgme/default.nix b/pkgs/development/libraries/gpgme/default.nix
index 551d18d17f19..8acc773a46c8 100644
--- a/pkgs/development/libraries/gpgme/default.nix
+++ b/pkgs/development/libraries/gpgme/default.nix
@@ -28,6 +28,9 @@ stdenv.mkDerivation rec {
     "--enable-fixed-path=${gpgStorePath}/bin"
   ];
 
+  NIX_CFLAGS_COMPILE =
+    with stdenv; lib.optional (system == "i686-linux") "-D_FILE_OFFSET_BITS=64";
+
   meta = with stdenv.lib; {
     homepage = "http://www.gnupg.org/related_software/gpgme";
     description = "Library for making GnuPG easier to use";