summaryrefslogtreecommitdiffstats
path: root/pkgs/desktops
diff options
context:
space:
mode:
authorWORLDofPEACE <worldofpeace@protonmail.ch>2020-10-24 11:50:47 -0400
committerWORLDofPEACE <worldofpeace@protonmail.ch>2020-10-24 11:50:47 -0400
commit372e3a118dbf4b02a5c99aff69688d3e7672e34d (patch)
tree93fa0ca744f4fcabe5ff4ff7e4d51c7a86559bce /pkgs/desktops
parent007126eef72271480cb7670e19e501a1ad2c1ff2 (diff)
pantheon.switchboard-plug-about: patch some bugfixes
Hopefully fix https://github.com/NixOS/nixpkgs/issues/101221. Though that issue is flaky on the reproducibility.
Diffstat (limited to 'pkgs/desktops')
-rw-r--r--pkgs/desktops/pantheon/apps/switchboard-plugs/about/default.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/about/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/about/default.nix
index 86db11a3dc31..f174c41abc7b 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/about/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/about/default.nix
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
+, fetchpatch
, nix-update-script
, pantheon
, substituteAll
@@ -47,6 +48,20 @@ stdenv.mkDerivation rec {
];
patches = [
+ # Get OS Info from GLib.Environment
+ # https://github.com/elementary/switchboard-plug-about/pull/128
+ (fetchpatch {
+ url = "https://github.com/elementary/switchboard-plug-about/commit/5ed29988e3a895b2df66e5529df0f12a94d5517c.patch";
+ sha256 = "1ipDxnpDZjpSEzZdtOeNe5U+QOXiB5M+hC3yDAsl/rQ=";
+ })
+
+ # Use Pretty Name
+ # https://github.com/elementary/switchboard-plug-about/pull/134
+ (fetchpatch {
+ url = "https://github.com/elementary/switchboard-plug-about/commit/653d131dc8fac10ae7523f2bf6b179ffffa9c0fd.patch";
+ sha256 = "AsM49Dc9/yn2tG6fqjfedeOlDXUu+iEoyNUmNYLH+zE=";
+ })
+
(substituteAll {
src = ./fix-paths.patch;
inherit pciutils;