mimetic: fix compilation failure with new toolchain

+8 -2
+8 -2
pkgs/development/libraries/mimetic/default.nix
··· 1 - { lib, stdenv, fetchurl, cutee }: 1 + { lib, stdenv, fetchurl, fetchpatch, cutee }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "mimetic"; ··· 11 11 12 12 buildInputs = [ cutee ]; 13 13 14 - patches = lib.optional stdenv.isAarch64 ./narrowing.patch; 14 + patches = [ 15 + # Fix build with gcc11 16 + (fetchpatch { 17 + url = "https://github.com/tat/mimetic/commit/bf84940f9021950c80846e6b1a5f8b0b55991b00.patch"; 18 + sha256 = "sha256-1JW9zPg67BgNsdIjK/jp9j7QMg50eRMz5FsDsbbzBlI="; 19 + }) 20 + ] ++ lib.optional stdenv.isAarch64 [ ./narrowing.patch ]; 15 21 16 22 meta = with lib; { 17 23 description = "MIME handling library";