forked from mirrors/nixpkgs
gpgstats: fix build on 32-bit; LFS problems
This commit is contained in:
parent
83f2a6792c
commit
5782b5d3e8
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue