@@ -10,7 +10,10 @@ stdenv.mkDerivation rec {
1010 '';
1111 makeFlags = stdenv.lib.optionals stdenv.isDarwin ["CC=cc"];
1212
13− patches = [ ./apg.patch ];
13+ patches = [
14+ ./apg.patch
15+ ./phony-install-target.patch
16+ ];
1417
1518 postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
1619 sed -i -e 's|APG_CLIBS += -lcrypt|APG_CLIBS += -L${openssl.out}/lib -lcrypto|' Makefile
@@ -64,6 +67,6 @@ stdenv.mkDerivation rec {
6467 homepage = http://www.adel.nursat.kz/apg/;
6568 license = stdenv.lib.licenses.bsd3;
6669 maintainers = with stdenv.lib.maintainers; [ astsmtl ];
67− platforms = stdenv.lib.platforms.linux;
70+ platforms = stdenv.lib.platforms.unix;
6871 };
6972}