This repository was archived by the owner on Feb 25, 2026. It is now read-only.
Commit 56555e7
committed
feat: enable full-scale Nix evaluation in sandboxed environment
- Refactor nixec crate from monolithic main function to more modular code
- Implement complete sandboxed nix-instantiate execution using birdcage
- Add public run_nixec() function for testing and external usage
- Update birdcage to git version with fixing nix call `unshare(CLONE_FS)`
- Add anyhow dependency and improve error handling
- Extract hardcoded paths to constants for maintainability
- Update build system and development environment dependencies1 parent e699f08 commit 56555e7
6 files changed
Lines changed: 187 additions & 84 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15213 | 15213 | | |
15214 | 15214 | | |
15215 | 15215 | | |
| 15216 | + | |
| 15217 | + | |
| 15218 | + | |
| 15219 | + | |
15216 | 15220 | | |
15217 | 15221 | | |
15218 | 15222 | | |
| |||
18761 | 18765 | | |
18762 | 18766 | | |
18763 | 18767 | | |
18764 | | - | |
| 18768 | + | |
18765 | 18769 | | |
18766 | | - | |
| 18770 | + | |
18767 | 18771 | | |
18768 | 18772 | | |
18769 | 18773 | | |
| |||
18812 | 18816 | | |
18813 | 18817 | | |
18814 | 18818 | | |
18815 | | - | |
| 18819 | + | |
18816 | 18820 | | |
18817 | | - | |
18818 | | - | |
| 18821 | + | |
| 18822 | + | |
18819 | 18823 | | |
18820 | 18824 | | |
18821 | 18825 | | |
| 18826 | + | |
18822 | 18827 | | |
18823 | 18828 | | |
18824 | 18829 | | |
| |||
18882 | 18887 | | |
18883 | 18888 | | |
18884 | 18889 | | |
18885 | | - | |
| 18890 | + | |
18886 | 18891 | | |
18887 | | - | |
| 18892 | + | |
18888 | 18893 | | |
| 18894 | + | |
| 18895 | + | |
| 18896 | + | |
| 18897 | + | |
| 18898 | + | |
| 18899 | + | |
| 18900 | + | |
18889 | 18901 | | |
| 18902 | + | |
18890 | 18903 | | |
18891 | 18904 | | |
18892 | 18905 | | |
| |||
18896 | 18909 | | |
18897 | 18910 | | |
18898 | 18911 | | |
18899 | | - | |
| 18912 | + | |
18900 | 18913 | | |
18901 | | - | |
| 18914 | + | |
18902 | 18915 | | |
18903 | 18916 | | |
18904 | 18917 | | |
| |||
18920 | 18933 | | |
18921 | 18934 | | |
18922 | 18935 | | |
18923 | | - | |
18924 | | - | |
| 18936 | + | |
| 18937 | + | |
| 18938 | + | |
| 18939 | + | |
18925 | 18940 | | |
18926 | 18941 | | |
18927 | 18942 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
0 commit comments