Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-11 | Split out `commonChildInit` | John Ericson | |
2020-10-09 | Completions::add(): Guard against newlines | Eelco Dolstra | |
2020-10-09 | Merge pull request #4128 from tweag/extended-completions | Eelco Dolstra | |
Add a zsh completion script | |||
2020-10-09 | Remove Lazy | Eelco Dolstra | |
This fixes a crash during startup when compiling Nix as a single compilation unit. | |||
2020-10-09 | writeFile(): Add error context to writeFull() failure | Eelco Dolstra | |
Issue #4092. | |||
2020-10-09 | Add a description in the completion outputs | regnat | |
Make nix output completions in the form `completion\tdescription`. This can't be used by bash (afaik), but other shells like zsh or fish can display it along the completion choices | |||
2020-10-07 | Serialize exceptions from the sandbox process to the parent | Eelco Dolstra | |
Fixes #4118. | |||
2020-10-07 | Formatting | Eelco Dolstra | |
2020-10-06 | Remove static variable name clashes | Eelco Dolstra | |
This was useful for an experiment with building Nix as a single compilation unit. It's not very useful otherwise but also doesn't hurt... | |||
2020-10-06 | Factor out common showBytes() | Eelco Dolstra | |
2020-10-06 | Add missing #pragma once | Eelco Dolstra | |
2020-10-05 | Fix s3:// store | Eelco Dolstra | |
Fixes https://github.com/NixOS/nixos-org-configurations/issues/123. | |||
2020-09-29 | Merge branch 'master' into access-tokens | Kevin Quick | |
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-24 | Support StringMap configuration settings. | Kevin Quick | |
Allows Configuration values that are space-separated key=value pairs. | |||
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 | |