3
0
Fork 0
forked from mirrors/nixpkgs

gpgstats: fix build on 32-bit; LFS problems

This commit is contained in:
Vladimír Čunát 2016-03-09 23:15:41 +01:00
parent 83f2a6792c
commit 5782b5d3e8

View file

@ -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 = ''