Merge pull request #85883 from romildo/fix.deepin-anything
deepin.deepin-anything: fix building with linux kernel 5.6
This commit is contained in:
commit
44a43c99d8
@ -1,4 +1,4 @@
|
||||
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qtbase, udisks2-qt5, utillinux,
|
||||
{ stdenv, mkDerivation, fetchFromGitHub, fetchpatch, pkgconfig, qtbase, udisks2-qt5, utillinux,
|
||||
dtkcore, deepin }:
|
||||
|
||||
mkDerivation rec {
|
||||
@ -12,6 +12,16 @@ mkDerivation rec {
|
||||
sha256 = "1kvyffrii4b012f6ld1ih14qrn7gg5cxbdpbkac0wxb22hnz0azm";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# fix compilation error and add support to kernel 5.6
|
||||
# https://github.com/linuxdeepin/deepin-anything/pull/27
|
||||
(fetchpatch {
|
||||
name = "linux-5.6.patch";
|
||||
url = "https://github.com/linuxdeepin/deepin-anything/commit/764b820c2bcd7248993349b32f91043fc58ee958.patch";
|
||||
sha256 = "1ww4xllxc2s04px6fy8wp5cyw54xaz155ry30sqz21vl8awfr36h";
|
||||
})
|
||||
];
|
||||
|
||||
outputs = [ "out" "modsrc" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
Loading…
Reference in New Issue
Block a user