diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-04 06:36:04 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-04 06:36:04 +0000 |
| commit | 31ed54dab458cb3c0a6472f3e508ccdc7a9b4d79 (patch) | |
| tree | 59c4a3058236a14ac639f018b13b405a9fa50d84 /SMOKE_TEST_REPORT.md | |
| parent | 001ca45e385c05b0eaa36d9879e051853aaff107 (diff) | |
moved to flakes
Diffstat (limited to 'SMOKE_TEST_REPORT.md')
| -rw-r--r-- | SMOKE_TEST_REPORT.md | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/SMOKE_TEST_REPORT.md b/SMOKE_TEST_REPORT.md index 6e73db8..ccb3916 100644 --- a/SMOKE_TEST_REPORT.md +++ b/SMOKE_TEST_REPORT.md | |||
| @@ -322,19 +322,11 @@ error: linker `cc` not found | |||
| 322 | 322 | ||
| 323 | ### Solutions | 323 | ### Solutions |
| 324 | 324 | ||
| 325 | **Option 1: Create shell.nix** | 325 | **Option 1: Use flake.nix (Provided)** |
| 326 | ```nix | 326 | ```bash |
| 327 | { pkgs ? import <nixpkgs> {} }: | 327 | cd grasp-audit |
| 328 | 328 | nix develop | |
| 329 | pkgs.mkShell { | 329 | cargo build |
| 330 | buildInputs = with pkgs; [ | ||
| 331 | rustc | ||
| 332 | cargo | ||
| 333 | gcc | ||
| 334 | pkg-config | ||
| 335 | openssl | ||
| 336 | ]; | ||
| 337 | } | ||
| 338 | ``` | 330 | ``` |
| 339 | 331 | ||
| 340 | **Option 2: Use nix-shell with inline expression** | 332 | **Option 2: Use nix-shell with inline expression** |
| @@ -457,7 +449,7 @@ Expected: Tests run in read-only mode, see real events | |||
| 457 | ## Next Steps | 449 | ## Next Steps |
| 458 | 450 | ||
| 459 | ### Immediate (Unblock Build) | 451 | ### Immediate (Unblock Build) |
| 460 | 1. ✅ Create `shell.nix` for NixOS environment | 452 | 1. ✅ Create `flake.nix` for NixOS environment |
| 461 | 2. ✅ Build grasp-audit | 453 | 2. ✅ Build grasp-audit |
| 462 | 3. ✅ Run unit tests | 454 | 3. ✅ Run unit tests |
| 463 | 4. ✅ Document build process | 455 | 4. ✅ Document build process |
| @@ -528,9 +520,8 @@ Reference: `GRASP_AUDIT_PLAN.md` | |||
| 528 | 520 | ||
| 529 | 1. **Set up build environment:** | 521 | 1. **Set up build environment:** |
| 530 | ```bash | 522 | ```bash |
| 531 | # Create shell.nix (see Solutions section) | ||
| 532 | nix-shell | ||
| 533 | cd grasp-audit | 523 | cd grasp-audit |
| 524 | nix develop | ||
| 534 | cargo build | 525 | cargo build |
| 535 | ``` | 526 | ``` |
| 536 | 527 | ||