diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2020-04-23 14:43:48 -0300 |
---|---|---|
committer | José Romildo Malaquias <malaquias@gmail.com> | 2020-04-25 15:33:56 -0300 |
commit | 65527129079f45ce21652a1f26ae621fa74bd546 (patch) | |
tree | 9d702a8081fead5e3d1d5110e517361542b9ec96 /pkgs/desktops/deepin | |
parent | 06a34e69ad4fed8178ce4994254045875806b0ee (diff) | |
download | nixpkgs-65527129079f45ce21652a1f26ae621fa74bd546.tar nixpkgs-65527129079f45ce21652a1f26ae621fa74bd546.tar.gz nixpkgs-65527129079f45ce21652a1f26ae621fa74bd546.tar.bz2 nixpkgs-65527129079f45ce21652a1f26ae621fa74bd546.tar.lz nixpkgs-65527129079f45ce21652a1f26ae621fa74bd546.tar.xz nixpkgs-65527129079f45ce21652a1f26ae621fa74bd546.tar.zst nixpkgs-65527129079f45ce21652a1f26ae621fa74bd546.zip |
deepin.deepin-anything: fix building with linux kernel 5.6
Diffstat (limited to 'pkgs/desktops/deepin')
-rw-r--r-- | pkgs/desktops/deepin/deepin-anything/default.nix | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/pkgs/desktops/deepin/deepin-anything/default.nix b/pkgs/desktops/deepin/deepin-anything/default.nix index 7697c23ae14..be7fe818e5c 100644 --- a/pkgs/desktops/deepin/deepin-anything/default.nix +++ b/pkgs/desktops/deepin/deepin-anything/default.nix @@ -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 = [ |