aarch64/moby: fix papers cross-compilation and use that as my PDF viewer instead of zathura

This commit is contained in:
2025-01-26 03:04:54 +00:00
parent 54a23fd109
commit 3f0e2c5cb2
2 changed files with 6 additions and 6 deletions

View File

@@ -9,14 +9,9 @@ in
};
};
config = lib.mkIf cfg.enable {
# swap papers for zathura, since only one of these cross-compiles (TODO: enable cross compilation of papers!)
sane.programs.guiBaseApps.suggestedPrograms = [ "zathura" ];
sane.programs.papers.enableFor.user.colin = false; #< does not cross compile (2025-01-05; unblocked)
# disable the following non-essential programs which fail to cross compile
sane.programs.bash-language-server.enableFor = { system = false; user.colin = false; }; # bash neovim LSP: doesn't cross compile (2025-01-05; blocked by ShellCheck)
sane.programs.blueberry.enableFor.user.colin = false; # bluetooth manager: doesn't cross compile (2025-01-05; blocked by marco)
sane.programs.blueberry.enableFor.user.colin = false; # bluetooth manager: doesn't cross compile (2025-01-05; blocked by gnome-bluetooth)
sane.programs.fcitx5.enableFor.user.colin = false; #< does not cross compile (2025-01-05; blocked by qtsvg)
sane.programs.firefox.config.addons.browserpass-extension.enable = false; #< does not cross compile
sane.programs.lua-language-server.enableFor = { system = false; user.colin = false; }; # lua neovim LSP: doesn't cross compile (2025-01-06)

View File

@@ -639,6 +639,11 @@ in with final; {
# # buildInputs = lib.remove gnupg upstream.buildInputs;
# });
# 2025/01/25: upstreaming is unblocked
papers = prev.papers.override {
cargo = crossCargo;
};
# fixes (meson) "Program 'glib-mkenums mkenums' not found or not executable"
# 2025/01/13: upstreaming is blocked on mutter, gnome-settings-daemon
# phoc = mvToNativeInputs [ wayland-scanner glib ] prev.phoc;