programs/cargo: remove no-longer-necessary package override

This commit is contained in:
2025-03-27 06:12:12 +00:00
parent ce236f6c7a
commit 60a165cbb5

View File

@@ -1,9 +1,10 @@
{ pkgs, ... }:
{ ... }:
{
sane.programs.cargo = {
#v XXX(2025-02-23): normal `cargo` fails to build for cross (temporarily?). use prebuilt instead.
# NOT easy to debug/fix. git bisect pins this between ceba2c6c3b (good) and 62a28e5a3d (bad)
packageUnwrapped = pkgs.rust.packages.prebuilt.cargo;
# packageUnwrapped = pkgs.rust.packages.prebuilt.cargo;
persist.byStore.plaintext = [ ".cargo" ];
# probably this sandboxing is too restrictive; i'm sandboxing it for rust-analyzer / neovim LSP
sandbox.whitelistPwd = true;