fim: Fix the build by switching back to GCC 9

GCC 10 breaks the build: https://hydra.nixos.org/build/134272249
There are workarounds to fix the build with GCC 10 [0] but since
upstream is inactive it's probably best to deprecate fim soon.

[0]: https://aur.archlinux.org/cgit/aur.git/commit/?h=fim&id=66258387a099da72f7758495fb0e3c93e16068e7

+5 -5
+5 -5
pkgs/tools/graphics/fim/default.nix
··· 1 - { stdenv, fetchurl, autoconf, automake, pkgconfig 1 + { gcc9Stdenv, fetchurl, autoconf, automake, pkgconfig, lib 2 2 , perl, flex, bison, readline, libexif 3 3 , x11Support ? true, SDL 4 4 , svgSupport ? true, inkscape ··· 9 9 , pngSupport ? true, libpng 10 10 }: 11 11 12 - stdenv.mkDerivation rec { 12 + gcc9Stdenv.mkDerivation rec { 13 13 pname = "fim"; 14 14 version = "0.6"; 15 15 ··· 25 25 26 26 nativeBuildInputs = [ autoconf automake pkgconfig ]; 27 27 28 - buildInputs = with stdenv.lib; 28 + buildInputs = with lib; 29 29 [ perl flex bison readline libexif ] 30 30 ++ optional x11Support SDL 31 31 ++ optional svgSupport inkscape ··· 35 35 ++ optional jpegSupport libjpeg 36 36 ++ optional pngSupport libpng; 37 37 38 - NIX_CFLAGS_COMPILE = stdenv.lib.optionalString x11Support "-lSDL"; 38 + NIX_CFLAGS_COMPILE = lib.optionalString x11Support "-lSDL"; 39 39 40 - meta = with stdenv.lib; { 40 + meta = with lib; { 41 41 description = "A lightweight, highly customizable and scriptable image viewer"; 42 42 longDescription = '' 43 43 FIM (Fbi IMproved) is a lightweight, console based image viewer that aims