Skip to content

store: add Store method wrappers for hydra#58

Open
amaanq wants to merge 2 commits into
nixops4:mainfrom
amaanq:hydra-store-ops
Open

store: add Store method wrappers for hydra#58
amaanq wants to merge 2 commits into
nixops4:mainfrom
amaanq:hydra-store-ops

Conversation

@amaanq
Copy link
Copy Markdown

@amaanq amaanq commented Mar 18, 2026

Summary

This PR wraps several Nix C API store functions for future use in hydra's queue-runner.

  • is_valid_path: checks if a store path exists
  • copy_path / copy_closure: copy a single path or a full closure between stores
  • query_path_from_hash_part: look up a store path by its hash prefix
  • get_version: get the store protocol version string
  • derivation_from_path : parse a .drv file into its components

amaanq added 2 commits March 18, 2026 00:50
…vation_from_path

store: fix aarch64 build — use c_char instead of i8 for FFI pointer cast
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant