Skip to content

Commit d2e3fba

Browse files
committed
switch to relaxed sandbox
Since we only use disable sandboxes in nixpkgs for packages we need to, we can just as well switch to relaxed sandboxes. fixes #75
1 parent ff405b1 commit d2e3fba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nixpkgs_review/nix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def nix_build(attr_names: Set[str], args: str, cache_directory: Path) -> List[At
136136
str(multiprocessing.cpu_count()),
137137
"--option",
138138
"build-use-sandbox",
139-
"true",
139+
"relaxed",
140140
"-f",
141141
str(build),
142142
] + shlex.split(args)

nixpkgs_review/tests/cli_mocks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def tearDown(self) -> None:
8585
str(multiprocessing.cpu_count()),
8686
"--option",
8787
"build-use-sandbox",
88-
"true",
88+
"relaxed",
8989
"-f",
9090
IgnoreArgument,
9191
"--builders",

0 commit comments

Comments
 (0)