1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 00:11:17 +02:00

Add plugins to make Nix more extensible.

All plugins in plugin-files will be dlopened, allowing them to
statically construct instances of the various Register* types Nix
supports.
This commit is contained in:
Shea Levy 2018-02-08 11:26:18 -05:00
parent f201b7733e
commit 88cd2d41ac
No known key found for this signature in database
GPG key ID: 5C0BD6957D86FE27
24 changed files with 122 additions and 3 deletions

View file

@ -64,6 +64,8 @@ int main (int argc, char * * argv)
settings.maxBuildJobs.set("1"); // hack to make tests with local?root= work
initPlugins();
auto store = openStore().cast<LocalStore>();
/* It would be more appropriate to use $XDG_RUNTIME_DIR, since