diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 7162c0d4a942..f25dce5a4dd2 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -2226,6 +2226,9 @@ with self; { url = "mirror://cpan/authors/id/X/XA/XAOC/Cairo-1.109.tar.gz"; hash = "sha256-ghlzbkAcIxHaX1FXdd5D/YfmOEtQTaNqGS8rIXZDB38="; }; + nativeBuildInputs = [ + pkgs.pkg-config + ]; buildInputs = [ pkgs.cairo ]; propagatedBuildInputs = [ ExtUtilsDepends ExtUtilsPkgConfig ]; meta = { @@ -2242,6 +2245,9 @@ with self; { url = "mirror://cpan/authors/id/X/XA/XAOC/Cairo-GObject-1.005.tar.gz"; hash = "sha256-jYlkRNceHQvKPSTjHl2CvQ2VQqrtkdH7fqs2e85nXFA="; }; + nativeBuildInputs = [ + pkgs.pkg-config + ]; buildInputs = [ pkgs.cairo ]; propagatedBuildInputs = [ Cairo Glib ]; meta = { @@ -10230,6 +10236,8 @@ with self; { description = "Locate per-dist and per-module shared files"; homepage = "https://metacpan.org/release/File-ShareDir"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + # Can't load module IO, dynamic loading not available in this perl. + broken = !stdenv.buildPlatform.canExecute stdenv.hostPlatform; }; }; @@ -10697,6 +10705,8 @@ with self; { homepage = "https://metacpan.org/release/Games-Solitaire-Verify"; license = with lib.licenses; [ mit ]; mainProgram = "verify-solitaire-solution"; + # Unsuccessful stat on filename containing newline at lib/perl5/5.40.0/File/Path.pm line 361. + broken = !stdenv.buildPlatform.canExecute stdenv.hostPlatform; }; }; @@ -10708,6 +10718,9 @@ with self; { hash = "sha256-aDEFS/VCS09cI9NifT0UhEgPb5wsZmMiIpFfKFG+buQ="; }; + nativeBuildInputs = [ + pkgs.pkg-config + ]; buildInputs = [ pkgs.gd pkgs.libjpeg pkgs.zlib pkgs.freetype pkgs.libpng pkgs.fontconfig pkgs.xorg.libXpm ExtUtilsPkgConfig TestFork TestNoWarnings ]; # otherwise "cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]" @@ -10939,12 +10952,17 @@ with self; { url = "mirror://cpan/authors/id/X/XA/XAOC/Glib-1.3294.tar.gz"; hash = "sha256-1xX1qGvMGHB13oXnrlvAewcU1u3BlqktpDmG76ROXLs="; }; + nativeBuildInputs = [ + pkgs.pkg-config + ]; buildInputs = [ pkgs.glib ]; propagatedBuildInputs = [ ExtUtilsDepends ExtUtilsPkgConfig ]; meta = { description = "Perl wrappers for the GLib utility and Object libraries"; homepage = "https://gtk2-perl.sourceforge.net"; license = with lib.licenses; [ lgpl21Only ]; + # Can't load module IO, dynamic loading not available in this perl. + broken = !stdenv.buildPlatform.canExecute stdenv.hostPlatform; }; }; @@ -10963,7 +10981,13 @@ with self; { hash = "sha256-/QAhKENSeP+QRoWx/v8EMFPOouZ36Qd78lhZpvInz7Q="; }) ]; - nativeCheckInputs = [ pkgs.cairo CairoGObject ]; + nativeBuildInputs = [ + pkgs.pkg-config + ]; + nativeCheckInputs = [ CairoGObject ]; + checkInputs = [ + pkgs.cairo + ]; propagatedBuildInputs = [ pkgs.gobject-introspection Glib ]; preCheck = '' # Our gobject-introspection patches make the shared library paths absolute