tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
deepin-compressor: fix build for new dtk
rewine
2 years ago
004c4690
c7312655
+9
1 changed file
expand all
collapse all
unified
split
pkgs
desktops
deepin
apps
deepin-compressor
default.nix
+9
pkgs/desktops/deepin/apps/deepin-compressor/default.nix
···
1
{ stdenv
2
, lib
3
, fetchFromGitHub
0
4
, dtkwidget
5
, qt5integration
6
, qt5platform-plugins
···
28
rev = version;
29
hash = "sha256-oOxto0X/GBAA9q691uwC0PtCdHDTMBqi80ov4xCXPn0=";
30
};
0
0
0
0
0
0
0
0
31
32
postPatch = ''
33
substituteInPlace src/source/common/pluginmanager.cpp \
···
1
{ stdenv
2
, lib
3
, fetchFromGitHub
4
+
, fetchpatch
5
, dtkwidget
6
, qt5integration
7
, qt5platform-plugins
···
29
rev = version;
30
hash = "sha256-oOxto0X/GBAA9q691uwC0PtCdHDTMBqi80ov4xCXPn0=";
31
};
32
+
33
+
patches = [
34
+
(fetchpatch {
35
+
name = "fix-build-failures-for-new-dtkgui.patch";
36
+
url = "https://github.com/linuxdeepin/deepin-compressor/commit/0ee07030034b06021e366d8d6109f344d47ea26c.patch";
37
+
hash = "sha256-P++SxzZCWoXJnLQhC0H/64/LjW/dqnl3hCGBWHVDn9Q=";
38
+
})
39
+
];
40
41
postPatch = ''
42
substituteInPlace src/source/common/pluginmanager.cpp \