openpts: fix build

This commit is contained in:
Kranium Gikos Mendoza 2016-08-23 01:36:15 +08:00 committed by Nikolay Amiantov
parent 5a4b3e3ece
commit e130fa5958

View File

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
configureFlags = [ "--with-tss" "--with-aru" "--with-tboot" "--enable-tnc" "--with-aide" ];
NIX_CFLAGS_COMPILE = "-I${trousers}/include/trousers -I${trousers}/include/tss";
NIX_CFLAGS_COMPILE = "-I${trousers}/include/trousers -I${trousers}/include/tss -Wno-deprecated-declarations";
preInstall = ''
mkdir -p $out
@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
description = "TCG Platform Trust Service (PTS)";
homepage = "ttp://sourceforge.jp/projects/openpts";
license = stdenv.lib.licenses.cpl10;
platforms = stdenv.lib.platforms.unix;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ tstrobel ];
};
}