(cherry picked from commit de6c6cbd462202405bc787fed02dee249cf16973)
nix_store_open
nix_state_create
lookupPath