perlPackages.{Wx,WxGLCanvas}: fix build failure (#459913)

This commit is contained in:
Vladimír Čunát
2025-11-17 11:02:13 +00:00
committed by GitHub
+8
View File
@@ -38203,6 +38203,10 @@ with self;
substituteInPlace ext/dnd/XS/DataObject.xs \
--replace "#ifdef __WXGTK20__" "#if wxUSE_GUI"
'';
# Build system attempts to compile c++ files with clang.
preConfigure = ''
export CC=$CXX
'';
propagatedBuildInputs = [ AlienWxWidgets ];
# Testing requires an X server:
# Error: Unable to initialize GTK, is DISPLAY set properly?"
@@ -38228,6 +38232,10 @@ with self;
pkgs.libGLU
Wx
];
# Build system attempts to compile c++ files with clang.
preConfigure = ''
export CC=$CXX
'';
doCheck = false;
meta = {
description = "wxPerl demo helper for Wx::GLCanvas";