Skip to content

Commit

Permalink
fix gnome keyring
Browse files Browse the repository at this point in the history
  • Loading branch information
bpaulin committed Nov 18, 2022
1 parent fcc28d6 commit dc335e8
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/laptops/display/gnome/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{ ... }:
{
# until https://github.com/NixOS/nixpkgs/pull/201229/commits/808095530a618c70e81c9f2423273860cfbed4d0 is on master
nixpkgs.overlays = [
(import ../../../../pkgs/overlays/gnome-keyring.nix)
];

services.xserver.desktopManager.gnome.enable = true;

Expand Down
4 changes: 4 additions & 0 deletions modules/laptops/mess.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{ pkgs, ... }:
{
nixpkgs.overlays = [
# (import ../../pkgs/overlays/OVERLAY.nix)
];

environment.systemPackages = with pkgs; [
# packages
];
Expand Down
16 changes: 16 additions & 0 deletions pkgs/overlays/gnome-keyring.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# until https://github.com/NixOS/nixpkgs/pull/201229/commits/808095530a618c70e81c9f2423273860cfbed4d0 is on master
final: prev: {
gnome = prev.gnome // {
gnome-keyring = (prev.gnome.gnome-keyring.override {
glib = prev.glib.overrideAttrs (a: rec {
patches = a.patches ++ [
(final.fetchpatch {
url =
"https://gitlab.gnome.org/GNOME/glib/-/commit/2a36bb4b7e46f9ac043561c61f9a790786a5440c.patch";
sha256 = "b77Hxt6WiLxIGqgAj9ZubzPWrWmorcUOEe/dp01BcXA=";
})
];
});
});
};
}

0 comments on commit dc335e8

Please sign in to comment.