diff --git a/hosts/common/programs/assorted.nix b/hosts/common/programs/assorted.nix index 62429a885..8ded487d4 100644 --- a/hosts/common/programs/assorted.nix +++ b/hosts/common/programs/assorted.nix @@ -212,6 +212,11 @@ in fluffychat-moby.persist.plaintext = [ ".local/share/chat.fluffy.fluffychat" ]; + font-manager.package = pkgs.font-manager.override { + # build without the "Google Fonts" integration feature, to save closure / avoid webkitgtk_4_0 + withWebkit = false; + }; + # MS GitHub stores auth token in .config # TODO: we can populate gh's stuff statically; it even lets us use the same oauth across machines gh.persist.private = [ ".config/gh" ]; diff --git a/nixpatches/list.nix b/nixpatches/list.nix index 9af927283..c05affc64 100644 --- a/nixpatches/list.nix +++ b/nixpatches/list.nix @@ -115,6 +115,13 @@ in [ hash = "sha256-d0mQMDl8SBfDHaIrMxIX9AJVx53sOS35n5hq7LXVAhY="; }) + (fetchpatch' { + title = "font-manager: allow building without webkit"; + prUrl = "https://github.com/NixOS/nixpkgs/pull/255466"; + saneCommit = "54931faf9a276818bc4a9d88562b0010da534577"; + hash = "sha256-3mCN75894v+HzeNf+hZ1t+cI9Lo+KFGFNEER6oReEoY="; + }) + # (fetchpatch { # # stdenv: fix cc for pseudo-crosscompilation # # closed because it breaks pkgsStatic (as of 2023/02/12)