diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2016-03-09 23:15:41 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2016-03-09 23:15:41 +0100 |
commit | 5782b5d3e86f8ce91b4e96e7c8ed9062c826f105 (patch) | |
tree | d750c4f7bc38e787c1265944d4d6be5cfda851d1 | |
parent | 83f2a6792c52486f2f729bd5dd7a52bfc98a059b (diff) |
gpgstats: fix build on 32-bit; LFS problems
-rw-r--r-- | pkgs/tools/security/gpgstats/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/security/gpgstats/default.nix b/pkgs/tools/security/gpgstats/default.nix index 480ef5bf3e7e..e9929cb2e6fc 100644 --- a/pkgs/tools/security/gpgstats/default.nix +++ b/pkgs/tools/security/gpgstats/default.nix @@ -16,6 +16,9 @@ stdenv.mkDerivation rec { cp gpgstats $out/bin ''; + NIX_CFLAGS_COMPILE = stdenv.lib.optionals (!stdenv.is64bit) + [ "-D_FILE_OFFSET_BITS=64" "-DLARGEFILE_SOURCE=1" ]; + meta = with stdenv.lib; { description = "Calculates statistics on the keys in your gpg key-ring"; longDescription = '' |