summary refs log tree commit diff
path: root/pkgs/desktops/pantheon
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2023-03-01 10:10:10 +0800
committerBobby Rong <rjl931189261@126.com>2023-03-06 17:55:20 +0800
commit15ada3ac044e169d601929e493077dee17b8f65b (patch)
treebd1d781276083e81866bb0d35200002270de2361 /pkgs/desktops/pantheon
parent2408257ae3a04fa02d74db22045c8cfb5c663468 (diff)
downloadnixpkgs-15ada3ac044e169d601929e493077dee17b8f65b.tar
nixpkgs-15ada3ac044e169d601929e493077dee17b8f65b.tar.gz
nixpkgs-15ada3ac044e169d601929e493077dee17b8f65b.tar.bz2
nixpkgs-15ada3ac044e169d601929e493077dee17b8f65b.tar.lz
nixpkgs-15ada3ac044e169d601929e493077dee17b8f65b.tar.xz
nixpkgs-15ada3ac044e169d601929e493077dee17b8f65b.tar.zst
nixpkgs-15ada3ac044e169d601929e493077dee17b8f65b.zip
pantheon.elementary-files: 6.2.2 -> 6.3.0
Diffstat (limited to 'pkgs/desktops/pantheon')
-rw-r--r--pkgs/desktops/pantheon/apps/elementary-files/default.nix14
1 files changed, 12 insertions, 2 deletions
diff --git a/pkgs/desktops/pantheon/apps/elementary-files/default.nix b/pkgs/desktops/pantheon/apps/elementary-files/default.nix
index d2ec15c09c6..df4690d05b2 100644
--- a/pkgs/desktops/pantheon/apps/elementary-files/default.nix
+++ b/pkgs/desktops/pantheon/apps/elementary-files/default.nix
@@ -1,6 +1,7 @@
 { lib
 , stdenv
 , fetchFromGitHub
+, fetchpatch
 , nix-update-script
 , pkg-config
 , meson
@@ -28,7 +29,7 @@
 
 stdenv.mkDerivation rec {
   pname = "elementary-files";
-  version = "6.2.2";
+  version = "6.3.0";
 
   outputs = [ "out" "dev" ];
 
@@ -36,9 +37,18 @@ stdenv.mkDerivation rec {
     owner = "elementary";
     repo = "files";
     rev = version;
-    sha256 = "sha256-YV7fcRaLaDwa0m6zbdhayCAqeON5nqEdQ1IUtDKu5AY=";
+    sha256 = "sha256-DS39jCeN+FFiEqJqxa5F2XRKF7SJsm2qi5KKb79guKo=";
   };
 
+  patches = [
+    # Avoid crash due to ref counting issues in Directory cache
+    # https://github.com/elementary/files/pull/2149
+    (fetchpatch {
+      url = "https://github.com/elementary/files/commit/6a0d16e819dea2d0cd2d622414257da9433afe2f.patch";
+      sha256 = "sha256-ijuSMZzVbSwWMWsK24A/24NfxjxgK/BU2qZlq6xLBEU=";
+    })
+  ];
+
   nativeBuildInputs = [
     desktop-file-utils
     meson