Skip to content

Commit d28ef62

Browse files
authored
Merge pull request #167 from Anionix/codex/remove-nimble-host-paths
Remove Nimble host-specific dependency paths
2 parents 574439b + d37ad1c commit d28ef62

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

‎research/formats/nimble.json‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@
3131
"clang": "21.1.8",
3232
"cmake": "4.1.2",
3333
"ninja": "1.13.2",
34-
"protobuf_library": "35.1 from /nix/store/3c2m4p8mc0pzc3ksca19asazsk6b8iqp-protobuf-35.1",
35-
"protobuf_compiler": "33.4 from /opt/homebrew/bin/protoc",
36-
"fmt": "12.1.0 from /opt/homebrew/Cellar/fmt/12.1.0",
34+
"protobuf_library": "35.1 from the Nix flake environment",
35+
"protobuf_compiler": "33.4 from the Homebrew environment",
36+
"fmt": "12.1.0 from the Homebrew environment",
37+
"dependency_acquisition": "mixed Nix and Homebrew environments; no absolute paths retained",
3738
"dependency_warning": "CMake reported that protoc 33.4 did not match the protobuf library 7.35.1"
3839
},
3940
"result": "protobuf and fmt targets resolved, but the bundled xsimd dependency stopped configuration because its CMake minimum version is older than CMake 4.1.2; no build or projection test was attempted"

‎tests/test_research.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import json
12
from pathlib import Path
23

34
import pytest
@@ -16,6 +17,10 @@ def test_negative_research_records_are_pinned_and_unranked() -> None:
1617
assert all(record["claim_summary"] for record in records.values())
1718
assert all(record["retry_when"] for record in records.values())
1819

20+
nimble_json = json.dumps(records["nimble"])
21+
assert "/nix/store/" not in nimble_json
22+
assert "/opt/homebrew/" not in nimble_json
23+
1924

2025
def test_relative_root_does_not_match_url_punctuation(
2126
monkeypatch: pytest.MonkeyPatch,

0 commit comments

Comments
 (0)