diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-08-07T13·02+0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-07T13·02+0200 |
commit | 56df30cd3f89f76f608b469044c17a42cdb2b338 (patch) | |
tree | 0a8cb3bf92293f9fd6d684f62a5d1f63874290d8 /src/libstore/globals.hh | |
parent | 399b6f3c46077e10a7047e8216fc1a67425a768a (diff) | |
parent | 363a2f68261af73aefe4edead9c0526030751a27 (diff) |
Merge pull request #2995 from tweag/post-build-hook
Add a post build hook
Diffstat (limited to 'src/libstore/globals.hh')
-rw-r--r-- | src/libstore/globals.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh index 0c0a9ec544ea..13effb507b81 100644 --- a/src/libstore/globals.hh +++ b/src/libstore/globals.hh @@ -315,6 +315,9 @@ public: "pre-build-hook", "A program to run just before a build to set derivation-specific build settings."}; + Setting<std::string> postBuildHook{this, "", "post-build-hook", + "A program to run just after each succesful build."}; + Setting<std::string> netrcFile{this, fmt("%s/%s", nixConfDir, "netrc"), "netrc-file", "Path to the netrc file used to obtain usernames/passwords for downloads."}; |