Change:
I can't install anything anymore on my system because fails to install, and when I run , I get an error during the compilation. Note that you can obtain it directly from Install or compile : $ nix-build -E "with import <nixpkgs{}; gimp-with-plugins" I am on . Please run and paste the results. system: host os: multi-user?: sandbox: version: channels(me): channels(root): nixpkgs:
Note that you can still install packages into your user environment with .

Discussion:
ufraw = pkgs.ufraw.gimpPlugin; gimplensfun = pluginDerivation rec { <del> version = "0.2.4"; </del> <ins> version = "unstable-2018-10-21"; </ins> name = "gimplensfun-${version}"; src = fetchFromGitHub { owner = "seebk"; repo = "GIMP-Lensfun"; <del> rev = version; sha256 = "0zlmp9v732qmzj083mnk5z421s57mnckmpjhiw890wmmwzj2lhxz"; </del> <ins> rev = "1c5a5c1534b5faf098b7441f8840d22835592f17"; sha256 = "1jj3n7spkjc63aipwdqsvq9gi07w13bb1v8iqzvxwzld2kxa3c8w"; </ins> }; <del> buildInputs = with pkgs; [ lensfun exiv2 ]; </del> <ins> buildInputs = with pkgs; [ lensfun gexiv2 ]; </ins> installPhase = " installPlugins gimp-lensfun

<del> { fetchurl, stdenv, pkgconfig, gtk2, gettext, bzip2, zlib , withGimpPlugin ? true, gimp ? null , libjpeg, libtiff, cfitsio, exiv2, lcms2, gtkimageview, lensfun }: </del> <ins> { stdenv , fetchFromGitHub , autoconf , automake , autoreconfHook , bzip2 , cfitsio , exiv2 , gettext , gimp ? null , gtk2 , gtkimageview , lcms2 , lensfun , libjpeg , libtiff , perl , pkgconfig , zlib , withGimpPlugin ? true }: </ins> assert withGimpPlugin -> gimp != null; stdenv.mkDerivation rec { <del> name = "ufraw-0.22"; </del> <ins> pname = "ufraw"; version = "unstable-2019-06-12"; </ins> <del> src = fetchurl { # XXX: These guys appear to mutate uploaded tarballs! url = "mirror://sourceforge/ufraw/${name}.tar.gz"; sha256 = "0pm216pg0vr44gwz9vcvq3fsf8r5iayljhf5nis2mnw7wn6d5azp"; </del> <ins> # The original ufraw repo is unmaintained and broken; # this is a fork that collects patches src = fetchFromGitHub { owner = "sergiomb2"; repo = "ufraw"; rev = "c65b4237dcb430fb274e4778afaf5df9a18e04e6"; sha256 = "02icn67bsinvgliy62qa6v7gmwgp2sh15jvm8iiz3c7g1h74f0b7"; </ins> }; outputs = [ "out" ] ++ stdenv.lib.optional withGimpPlugin "gimpPlugin"; <del> nativeBuildInputs = [ pkgconfig gettext ]; </del> <ins> nativeBuildInputs = [ autoconf automake autoreconfHook gettext perl pkgconfig ]; </ins> buildInputs = [ <del> gtk2 gtkimageview bzip2 zlib libjpeg libtiff cfitsio exiv2 lcms2 lensfun </del> <ins> bzip2 cfitsio exiv2 gtk2 gtkimageview lcms2 lensfun libjpeg libtiff zlib </ins> ] ++ stdenv.lib.optional withGimpPlugin gimp; configureFlags = [ <del> "--enable-extras" "--enable-dst-correction" </del> "--enable-contrast" <ins> "--enable-dst-correction" </ins> ] ++ stdenv.lib.optional withGimpPlugin "--with-gimp"; postInstall = stdenv.lib.optionalString withGimpPlugin '' moveToOutput "lib/gimp" "$gimpPlugin" ''; <del> meta = { homepage = http://ufraw.sourceforge.net/; </del> <ins> meta = with stdenv.lib; { homepage = https://github.com/sergiomb2/ufraw; </ins> description = "Utility to read and manipulate raw images from digital cameras";

the camera's tone curves. ''; <del> license = stdenv.lib.licenses.gpl2Plus; </del> <ins> license = licenses.gpl2Plus; </ins> <del> maintainers = [ ]; platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux;  # needs GTK+ </del> <ins> maintainers = with maintainers; [ gloaming ]; platforms   = with platforms; all; </ins> }; }