pantheon.elementary-files: fix crash when removing bookmark

This commit is contained in:
Bobby Rong 2022-07-17 10:35:45 +08:00
parent 4a01ca36d6
commit 475016947e
No known key found for this signature in database
GPG key ID: ED07364437C91161

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, nix-update-script
, pkg-config
, meson
@ -32,6 +33,15 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
patches = [
# Fix terminal critical warnings and possible crash when removing bookmark
# https://github.com/elementary/files/pull/2062
(fetchpatch {
url = "https://github.com/elementary/files/commit/daa5ab244b45aafdd7be49eb0bd6f052ded5b5a7.patch";
sha256 = "sha256-crGvbo9Ye9656cOy6YqNreMLE2pEMO0Rg8oz81OfJkw=";
})
];
src = fetchFromGitHub {
owner = "elementary";
repo = "files";