Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-10 | Fix stack overflow introduced in #4206 | Ricardo M. Correia | |
2020-11-09 | Fix appending to Setting<StringSet> | Eelco Dolstra | |
Fixes: warning: unknown setting 'extra-sandbox-paths' | |||
2020-10-30 | Fix memory corruption caused by GC-invisible coroutine stacks | Robert Hensing | |
Crucially this introduces BoehmGCStackAllocator, but it also adds a bunch of wiring to avoid making libutil depend on bdw-gc. Part of the solutions for #4178, #4200 | |||
2020-10-30 | Fix test | Eelco Dolstra | |
2020-10-29 | Fix assertion failure in tab completion for --option | Eelco Dolstra | |
2020-10-29 | Generalize extra-* settings | Eelco Dolstra | |
This removes the extra-substituters and extra-sandbox-paths settings and instead makes every array setting extensible by setting "extra-<name> = <value>" in the configuration file or passing "--<name> <value>" on the command line. | |||
2020-10-29 | Merge pull request #4198 from mkenigs/capitalize-JSON | Eelco Dolstra | |
Capitalize JSON for consistency | |||
2020-10-28 | Capitalize JSON for consistency | Matthew Kenigsberg | |
2020-10-28 | Consistency | Eelco Dolstra | |
2020-10-26 | BaseSetting<StringMap>::set(): Don't append to previous value | Eelco Dolstra | |
2020-10-26 | Move Explicit | Eelco Dolstra | |
2020-10-15 | Add missing include for MAX_PATH | John Ericson | |
And remove one that we didn't actually need to add | |||
2020-10-15 | Merge remote-tracking branch 'upstream/master' into fix-and-ci-static-builds | John Ericson | |
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 | Merge remote-tracking branch 'upstream/master' into fix-and-ci-static-builds | John Ericson | |
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 | stdout_ -> cout | John Ericson | |
Better to get creative than just sprinkle arbitrary underscores. | |||
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 |