deepin.dtk6gui: fix missing #include
This happens probably after qt6: 6.9.0 -> 6.9.1, though I've only confirmed the issue on 25.05 so far: https://hydra.nixos.org/build/301582029/nixlog/1/tail
This commit is contained in:
@@ -35,6 +35,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
postPatch = ''
|
||||
substituteInPlace src/util/dsvgrenderer.cpp \
|
||||
--replace-fail 'QLibrary("rsvg-2", "2")' 'QLibrary("${lib.getLib librsvg}/lib/librsvg-2.so")'
|
||||
sed '1i#include <pwd.h>' \
|
||||
-i 'src/kernel/dguiapplicationhelper.cpp'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user