From 06156f4427b748d4f9be7d377cd66beaafb66dd5 Mon Sep 17 00:00:00 2001 From: Elliot Cameron <3noch@users.noreply.github.com> Date: Thu, 25 Apr 2024 15:17:50 -0400 Subject: [PATCH] fortune: fix removal of men-women database And get rid of `-f` which masked the failure. --- pkgs/tools/misc/fortune/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/misc/fortune/default.nix b/pkgs/tools/misc/fortune/default.nix index 91afc1f76fd6..516cfc201eb8 100644 --- a/pkgs/tools/misc/fortune/default.nix +++ b/pkgs/tools/misc/fortune/default.nix @@ -37,7 +37,7 @@ stdenv.mkDerivation rec { '') ]; postFixup = lib.optionalString (!withOffensive) '' - rm -f $out/share/fortunes/men-women* + rm $out/share/games/fortunes/men-women* ''; meta = with lib; {