@@ -966,7 +966,15 @@ in lib.makeScopeWithSplicing
966966 noCC = true;
967967 version = "9.2";
968968 sha256 = "1l4lmj4kmg8dl86x94sr45w0xdnkz8dn4zjx0ipgr9bnq98663zl";
969− makeFlags = defaultMakeFlags ++ [ "FILESDIR=$(out)/share" ];
969+ # man0 generates a man.pdf using ps2pdf, but doesn't install it later,
970+ # so we can avoid the dependency on ghostscript
971+ postPatch = ''
972+ substituteInPlace man0/Makefile --replace "ps2pdf" "echo noop "
973+ '';
974+ makeFlags = defaultMakeFlags ++ [
975+ "FILESDIR=$(out)/share"
976+ "MKRUMP=no" # would require to have additional path sys/rump/share/man
977+ ];
970978 };
971979 #
972980 # END MISCELLANEOUS