Skip to content

Commit

Permalink
pantheon.evince: use upstream patch
Browse files Browse the repository at this point in the history
  • Loading branch information
bobby285271 committed Dec 11, 2021
1 parent 7befc2e commit 508d45f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 90 deletions.
13 changes: 9 additions & 4 deletions pkgs/desktops/gnome/core/evince/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{ lib, stdenv
{ lib
, stdenv
, fetchurl
, fetchpatch
, meson
, ninja
, pkg-config
Expand Down Expand Up @@ -57,9 +59,12 @@ stdenv.mkDerivation rec {

patches = lib.optionals withPantheon [
# Make this respect dark mode settings from Pantheon
# https://github.com/elementary/evince
# The patch currently differs from upstream (updated for evince 41).
./pantheon-dark-style.patch
# https://github.com/elementary/evince/pull/21
# https://github.com/elementary/evince/pull/31
(fetchpatch {
url = "https://raw.githubusercontent.com/elementary/evince/c8364019ee2c2dffd2a1bccf79b8f4e526aa22af/dark-style.patch";
sha256 = "sha256-nKELRXnM6gMRTGmWdO1Qqlo9ciy+4HOK5z2CYOoi2Lo=";
})
];

postPatch = ''
Expand Down
86 changes: 0 additions & 86 deletions pkgs/desktops/gnome/core/evince/pantheon-dark-style.patch

This file was deleted.

0 comments on commit 508d45f

Please sign in to comment.