Compare commits
3 Commits
385a3cb215
...
54fb17c9c8
| Author | SHA1 | Date | |
|---|---|---|---|
| 54fb17c9c8 | |||
| 61cee57d4e | |||
| dca53835f4 |
@@ -3093,8 +3093,10 @@ async def api_security_verify_integrity():
|
|||||||
try:
|
try:
|
||||||
result_link = os.path.join(tmpdir, "result")
|
result_link = os.path.join(tmpdir, "result")
|
||||||
result = subprocess.run(
|
result = subprocess.run(
|
||||||
["/run/current-system/sw/bin/nixos-rebuild", "build", "--flake", "/etc/nixos",
|
["/run/current-system/sw/bin/nix", "build",
|
||||||
"--no-build-output", "-o", result_link],
|
"/etc/nixos#nixosConfigurations.nixos.config.system.build.toplevel",
|
||||||
|
"--out-link", result_link,
|
||||||
|
"--no-build-output"],
|
||||||
capture_output=True, text=True, timeout=600,
|
capture_output=True, text=True, timeout=600,
|
||||||
cwd=tmpdir,
|
cwd=tmpdir,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user