nix-files/hosts/common/programs/strings.nix

13 lines
439 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
sane.programs.strings = {
2024-02-16 14:50:50 +00:00
# binutils-unwrapped is like 80 MiB, just for this one binary;
# dynamic linking means copying the binary doesn't reduce the closure much at all compared to just symlinking it.
packageUnwrapped = pkgs.linkIntoOwnPackage pkgs.binutils-unwrapped "bin/strings";
2024-02-16 14:50:50 +00:00
sandbox.method = "landlock";
2024-02-16 14:49:28 +00:00
sandbox.wrapperType = "inplace";
2024-02-16 14:50:50 +00:00
sandbox.autodetectCliPaths = "existing";
};
}