diff --git a/pkgs/tools/misc/fortune/default.nix b/pkgs/tools/misc/fortune/default.nix index 988483fbd6a1..3e6ebb2f0d67 100644 --- a/pkgs/tools/misc/fortune/default.nix +++ b/pkgs/tools/misc/fortune/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DLOCALDIR=${placeholder "out"}/share/fortunes" + "-DNO_OFFENSIVE=true" ]; patches = [ (builtins.toFile "not-a-game.patch" '' @@ -36,6 +37,10 @@ stdenv.mkDerivation rec { -- '') ]; + postFixup = '' + rm -f $out/share/fortunes/men-women* + ''; + meta = with lib; { mainProgram = "fortune"; description = "A program that displays a pseudorandom message from a database of quotations";