moby: re-enable some packages which do cross-compile

This commit is contained in:
2025-01-05 11:43:13 +00:00
parent 9b9a1ba22a
commit 52bc98741c
2 changed files with 9 additions and 13 deletions

View File

@@ -1038,6 +1038,7 @@ in
rsync.sandbox.autodetectCliPaths = "existingOrParent";
rsync.sandbox.tryKeepUsers = true; # if running as root, keep the user namespace so that `-a` can set the correct owners, etc
rust-analyzer.buildCost = 2;
rust-analyzer.sandbox.whitelistPwd = true;
rust-analyzer.suggestedPrograms = [
"cargo"
@@ -1178,6 +1179,7 @@ in
tree.sandbox.tryKeepUsers = true;
tree.sandbox.capabilities = [ "dac_read_search" ];
typescript-language-server.buildCost = 2;
typescript-language-server.sandbox.whitelistPwd = true;
tumiki-fighters.buildCost = 1;

View File

@@ -12,21 +12,15 @@ in
# 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;
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 (2024-08-26)
sane.programs.blueberry.enableFor.user.colin = false; # bluetooth manager: doesn't cross compile
sane.programs.fcitx5.enableFor.user.colin = false;
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.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.ltex-ls.enableFor = { system = false; user.colin = false; }; # LaTeX/html/markdown neovim LSP: doesn't cross compile (2024-08-26)
sane.programs.marksman.enableFor = { system = false; user.colin = false; }; # markdown neovim LSP: doesn't cross compile (2024-08-26)
sane.programs.mercurial.enableFor.user.colin = false;
sane.programs.nvme-cli.enableFor.system = false; # does not cross compile (libhugetlbfs)
sane.programs.pyright.enableFor = { system = false; user.colin = false; }; # python neovim LSP: doesn't cross compile (2024-08-26)
# disable the following non-essential programs which are excessively slow to build or large to copy
sane.programs.rust-analyzer.enableFor = { system = false; user.colin = false; }; # rust neovim LSP
sane.programs.typescript-language-server.enableFor = { system = false; user.colin = false; }; # rust js/TypeScript LSP
# sane.programs.marksman.enableFor = { system = false; user.colin = false; }; # markdown neovim LSP: cross compiles, but the result is a x86 .NET exe (2025-01-05)
sane.programs.mercurial.enableFor.user.colin = false; #< does not cross compile (2025-01-05; unblocked)
sane.programs.pyright.enableFor = { system = false; user.colin = false; }; # python neovim LSP: doesn't cross compile (2025-01-05; unblocked)
};
}