Unverified Commit 90c28caf authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

gnugrep: Fix MinGW Build (#421397)

parents 7f26f3ea fcecbfc9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -84,6 +84,10 @@ stdenv.mkDerivation {
    chmod +x $out/bin/egrep $out/bin/fgrep
  '';

  env = lib.optionalAttrs stdenv.hostPlatform.isMinGW {
    NIX_CFLAGS_COMPILE = "-Wno-error=format-security";
  };

  meta = with lib; {
    homepage = "https://www.gnu.org/software/grep/";
    description = "GNU implementation of the Unix grep command";