diff --git a/hosts/common/programs/cargo.nix b/hosts/common/programs/cargo.nix index 0715313ab..0a05ef8d0 100644 --- a/hosts/common/programs/cargo.nix +++ b/hosts/common/programs/cargo.nix @@ -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;