2024-02-16 14:49:28 +00:00
|
|
|
{ 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.
|
2024-02-16 14:49:28 +00:00
|
|
|
packageUnwrapped = pkgs.linkIntoOwnPackage pkgs.binutils-unwrapped "bin/strings";
|
2024-02-16 14:50:50 +00:00
|
|
|
|
|
|
|
sandbox.method = "landlock";
|
2024-02-28 17:35:40 +00:00
|
|
|
sandbox.wrapperType = "inplace"; # trivial package; cheaper to wrap in place
|
2024-02-16 14:50:50 +00:00
|
|
|
sandbox.autodetectCliPaths = "existing";
|
2024-02-16 14:49:28 +00:00
|
|
|
};
|
|
|
|
}
|