font-manager: build without webkit

This commit is contained in:
2023-09-16 12:44:09 +00:00
parent d85f5d88cd
commit a79d021123
2 changed files with 12 additions and 0 deletions

View File

@@ -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" ];

View File

@@ -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)