2023-07-31 09:59:15 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
2024-02-18 06:24:07 +00:00
|
|
|
sane.programs.xarchiver = {
|
|
|
|
packageUnwrapped = pkgs.xarchiver.override {
|
|
|
|
# unar doesn't cross compile well, so disable support for it
|
|
|
|
unar = null;
|
|
|
|
};
|
|
|
|
|
|
|
|
sandbox.method = "bwrap";
|
|
|
|
sandbox.wrapperType = "wrappedDerivation";
|
|
|
|
sandbox.whitelistWayland = true;
|
|
|
|
sandbox.extraHomePaths = [
|
|
|
|
"archive"
|
|
|
|
"ref"
|
|
|
|
"tmp"
|
|
|
|
"use"
|
|
|
|
];
|
|
|
|
# allow extracting an archive in the rare case it's outside the common directories
|
|
|
|
sandbox.autodetectCliPaths = "existing";
|
2023-07-31 09:59:15 +00:00
|
|
|
};
|
|
|
|
}
|