Skip to main content

register_input_source

Function register_input_source 

Source
pub fn register_input_source(store_path: &Path, read_dir: &Path)
Expand description

Register a fetched flake-input source tree so subsequent filesystem reads under its /nix/store/<narhash>-source store path resolve to the real on-disk read_dir. Idempotent per store_path. Does not affect any string value — only where reads land on disk.