nix_store_open
params
(cherry picked from commit 2cebb64daacdc612e7ff916dc32b0fe5ed89dbfc)
nix_state_create
lookupPath