programs: vim, imagemagick: fix sandboxing to consider uncreated files
This commit is contained in:
parent
09f3bfc944
commit
111946eb1d
|
@ -4,7 +4,7 @@
|
||||||
sandbox.method = "bwrap";
|
sandbox.method = "bwrap";
|
||||||
sandbox.wrapperType = "wrappedDerivation";
|
sandbox.wrapperType = "wrappedDerivation";
|
||||||
sandbox.whitelistPwd = true;
|
sandbox.whitelistPwd = true;
|
||||||
sandbox.autodetectCliPaths = true; #< arg formatting is complicated enough that this won't always work.
|
sandbox.autodetectCliPaths = "existingFileOrParent"; #< arg formatting is complicated enough that this won't always work.
|
||||||
packageUnwrapped = pkgs.imagemagick.override {
|
packageUnwrapped = pkgs.imagemagick.override {
|
||||||
ghostscriptSupport = true;
|
ghostscriptSupport = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -88,7 +88,7 @@ in
|
||||||
sane.programs.neovim = {
|
sane.programs.neovim = {
|
||||||
sandbox.method = "bwrap";
|
sandbox.method = "bwrap";
|
||||||
sandbox.wrapperType = "wrappedDerivation";
|
sandbox.wrapperType = "wrappedDerivation";
|
||||||
sandbox.autodetectCliPaths = true;
|
sandbox.autodetectCliPaths = "existingFileOrParent";
|
||||||
# sandbox.whitelistPwd = true;
|
# sandbox.whitelistPwd = true;
|
||||||
sandbox.extraHomePaths = [
|
sandbox.extraHomePaths = [
|
||||||
# directories where i'm liable to `:e ../...`
|
# directories where i'm liable to `:e ../...`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user