Alex David
7d3efead61
Only expose runtime closure by default
...
Instead of binding the entire `/nix/store`. This behavior can be changed
by overriding `basePermissions`.
2025-08-27 12:14:55 -07:00
Alex David
1f7587326e
Don't parallelize tests
...
On CI this causes them to be flaky since sometimes they output
`error (ignored): error: SQLite database ... is busy`.
2025-08-15 08:12:21 -07:00
Alex David
c37ae887fd
Allow consuming jail.nix without flakes
2025-08-15 08:06:02 -07:00
Alex David
595bc0e2e4
Allow overriding bubblewrap
2025-08-07 16:32:58 -07:00
Alex David
06c7210127
Refactor path handling
...
* Moves the default coreutils path into base permissions to allow
override.
* Makes paths defined *later* in the permissions list appear *earlier*
which should have the effect of later calls to `add-path` override
binaries provided by earlier ones.
* Makes the `path` variable on state a list rather than a string.
2025-08-07 16:26:18 -07:00
Alex David
c7685334cf
Restructure source
2025-08-07 15:54:50 -07:00
Alex David
f18f1cf701
Allow overriding jail base permissions
2025-08-07 15:29:16 -07:00
Alex David
ac316857f4
Allow unset readonly-paths-from-var variable
2025-07-21 20:19:50 -07:00
Alex David
ba42171b16
Add readonly-paths-from-var combinator
2025-07-18 11:30:55 -07:00
Alex David
3abb0273cd
Add app to run all tests with nice output
2025-07-18 10:46:48 -07:00
Alex David
38b5138956
Add initial simple test cases
2025-07-17 20:25:17 -07:00