Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-25 | Merge remote-tracking branch 'origin/master' into github-api-token | Gregory Hale | |
2020-09-25 | expectArg(): Respect the 'optional' flag | Eelco Dolstra | |
2020-09-23 | Merge pull request #4054 from edolstra/fix-4021 | Eelco Dolstra | |
registerOutputs(): Don't call canonicalisePathMetaData() twice | |||
2020-09-23 | lstat() cleanup | Eelco Dolstra | |
2020-09-23 | libutil/archive: add preallocate-contents option | Dominique Martinet | |
Make archive preallocation (fallocate) optional because some filesystems like btrfs do not behave as expected with fallocate. See #3550. | |||
2020-09-22 | Merge branch 'add-ca-to-store' of https://github.com/hercules-ci/nix | Eelco Dolstra | |
2020-09-22 | Silence a compiler warning in serialise.hh | regnat | |
Explicitely cast to `uint64_t` in `readNum` to avoid a "comparison between signed and unsigned" warning | |||
2020-09-21 | fmt.hh: Don't include boost/algorithm/string/replace.hpp | Eelco Dolstra | |
This cuts compilation time by ~49s. Issue #4045. | |||
2020-09-21 | Random header cleanup | Eelco Dolstra | |
2020-09-21 | abstractsettingtojson.hh -> abstract-setting-to-json.hh | Eelco Dolstra | |
2020-09-21 | Move Callback into its own header | Eelco Dolstra | |
This gets rid of the inclusion of <future> in util.hh, cutting compilation time by ~20s (CPU time). Issue #4045. | |||
2020-09-21 | Don't include <regex> in header files | Eelco Dolstra | |
This reduces compilation time by ~15 seconds (CPU time). Issue #4045. | |||
2020-09-21 | Move FramedSink next to FramedSource | Robert Hensing | |
2020-09-17 | Move FramedSource and FramedSink, extract withFramedSink | Robert Hensing | |
2020-09-17 | Add Source.drainInto(Sink) | Robert Hensing | |
2020-09-17 | Typo | Robert Hensing | |
2020-09-16 | Fetch commits from github/gitlab using Auth header | Greg Hale | |
`nix flake info` calls the github 'commits' API, which requires authorization when the repository is private. Currently this request fails with a 404. This commit adds an authorization header when calling the 'commits' API. It also changes the way that the 'tarball' API authenticates, moving the user's token from a query parameter into the Authorization header. The query parameter method is recently deprecated and will be disallowed in November 2020. Using them today triggers a warning email. | |||
2020-09-16 | Don't include nlohmann/json.hpp in config.hh | regnat | |
Instead make a separate header with the template implementation of `BaseSetting<T>::toJSONObj` that can be included where needed | |||
2020-09-16 | Include the full nlohmann/json header in config.hh | regnat | |
It is apparently required for using `toJSONObject()`, which we do inside the header file (because it's in a template). This was accidentally working when building Nix itself (presumably because `config.hh` was always included after `nlohman/json.hpp`) but caused a (pretty dirty) build failure in the perl bindings package. | |||
2020-09-16 | fixup! Add a default value for the settings | regnat | |
2020-09-16 | Make uri schemes grammar more RFC-compliant | regnat | |
Allow `-` and `.` in the RFC schemes as stated by [RFC3986](https://tools.ietf.org/html/rfc3986#section-3.1). Practically, this is needed so that `ssh-ng` is a valid URI scheme | |||
2020-09-16 | Add a default value for the settings | regnat | |
The default value is initialized when creating the setting and unchanged after that | |||
2020-09-16 | Complete the `toJSON` instance for `Setting<T>` | regnat | |
Don't let it just contain the value, but also the other fields of the setting (description, aliases, etc..) | |||
2020-09-01 | Merge remote-tracking branch 'upstream/master' into single-ca-drv-build | John Ericson | |
2020-08-31 | Merge remote-tracking branch 'origin/master' into markdown | Eelco Dolstra | |
2020-08-28 | Merge remote-tracking branch 'upstream/master' into single-ca-drv-build | John Ericson | |
2020-08-28 | Merge branch 'minimal-logger' of https://github.com/Ma27/nix | Eelco Dolstra | |
2020-08-27 | Typo | Eelco Dolstra | |
2020-08-27 | RemoteStore::addToStore(): Fix race between stderrThread and NAR writer | Eelco Dolstra | |
As pointed out by @B4dM4n, the call to to.flush() on stderrThread is unsafe because the NAR writer thread is also writing to 'to'. Fixes #3943. | |||
2020-08-25 | Fix tests | Eelco Dolstra | |
2020-08-24 | Fix tests | Eelco Dolstra | |
2020-08-20 | Allow 'nix' subcommands to provide docs in Markdown format | Eelco Dolstra | |
2020-08-20 | List deprecated option aliases in the docs | Eelco Dolstra | |
2020-08-20 | Config: Use nlohmann/json | Eelco Dolstra | |
2020-08-19 | Generate the nix.conf docs from the source code | Eelco Dolstra | |
This means we don't have two (divergent) sets of option descriptions anymore. | |||
2020-08-17 | Start generation of the nix.1 manpage | Eelco Dolstra | |
2020-08-17 | Add 'nix dump-args' to dump all commands/flags for manpage generation | Eelco Dolstra | |
2020-08-14 | Merge remote-tracking branch 'upstream/master' into single-ca-drv-build | John Ericson | |
2020-08-14 | Merge pull request #3899 from obsidiansystems/make-narHash-not-optional | Eelco Dolstra | |
Make narHash in ValidPathInfo not optional | |||
2020-08-13 | Use `TeeSink` and `TeeSouce` in a few more places | John Ericson | |
2020-08-07 | Squashed get CA derivations building | John Ericson | |
2020-08-05 | Remove Hash::operator bool () | Carlo Nucera | |
Since the hash is not optional anymore | |||
2020-08-05 | Merge branch 'master' of github.com:NixOS/nix into make-narHash-not-optional | Carlo Nucera | |
2020-08-05 | Add Hash::dummy to signal default value | Carlo Nucera | |
We did this in the same spirit of the dummy value that's present in libstore/path.hh | |||
2020-08-05 | Merge remote-tracking branch 'upstream/master' into misc-ca | John Ericson | |
2020-08-05 | Merge remote-tracking branch 'upstream/master' into misc-ca | John Ericson | |
2020-08-05 | Merge pull request #3730 from obsidiansystems/better-ca-parse-errors | Eelco Dolstra | |
Improve hash parsing and errors | |||
2020-08-05 | Merge pull request #3864 from obsidiansystems/more-topo-sort | Eelco Dolstra | |
Abstract out topo sorting logic | |||
2020-08-04 | Merge remote-tracking branch 'upstream/master' into better-ca-parse-errors | John Ericson | |
2020-08-03 | Delete compressed NARs | Eelco Dolstra | |
Fixes #3891. |