about summary refs log tree commit diff
path: root/pkgs/desktops/pantheon
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2022-12-10 19:59:15 +0800
committerBobby Rong <rjl931189261@126.com>2022-12-10 19:59:15 +0800
commit80909c90916fa2468da7a5edeaeecd010bb2b196 (patch)
tree61b252c06a1e9db1e4b87b36e3946bf35774a0b2 /pkgs/desktops/pantheon
parent445119adbc6ac0d102b717b85e3de3453468f444 (diff)
pantheon.elementary-code: Backport upstream fix for DnD
Diffstat (limited to 'pkgs/desktops/pantheon')
-rw-r--r--pkgs/desktops/pantheon/apps/elementary-code/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/desktops/pantheon/apps/elementary-code/default.nix b/pkgs/desktops/pantheon/apps/elementary-code/default.nix
index 25acfc28062b4..8f04aaab278f6 100644
--- a/pkgs/desktops/pantheon/apps/elementary-code/default.nix
+++ b/pkgs/desktops/pantheon/apps/elementary-code/default.nix
@@ -1,6 +1,7 @@
 { lib
 , stdenv
 , fetchFromGitHub
+, fetchpatch
 , nix-update-script
 , appstream
 , desktop-file-utils
@@ -36,6 +37,15 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-QhJNRhYgGbPMd7B1X3kG+pnC/lGUoF7gc7O1PdG49LI=";
   };
 
+  patches = [
+    # Fix drag and drop of accented text and between tabs
+    # https://github.com/elementary/code/pull/1194
+    (fetchpatch {
+      url = "https://github.com/elementary/code/commit/1ed7b590768ea9cb5b4658e27d9dc7ac224442ae.patch";
+      sha256 = "sha256-VrYcEbkzQKi5gFB/Vw/0NITZvSXKXfuEv2R3m0VALVM=";
+    })
+  ];
+
   nativeBuildInputs = [
     appstream
     desktop-file-utils