Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-09 | Split out `local-fs-store.hh` | John Ericson | |
This matches the already-existing `local-fs-store.cc`. | |||
2020-10-09 | Remove stray DerivationOutputsAndPaths type | Eelco Dolstra | |
2020-10-07 | Dynamically disable user namespaces if CLONE_NEWUSER fails | Eelco Dolstra | |
This makes builds work inside nixos-enter. Fixes #3145. | |||
2020-10-07 | Support user namespaces being disabled | Eelco Dolstra | |
If max_user_namespaces is set to 0, then don't run the build in a user namespace. Fixes #4092. | |||
2020-10-07 | Doh | Eelco Dolstra | |
2020-10-07 | Tweak error messages | Eelco Dolstra | |
2020-10-07 | Serialize exceptions from the daemon to the client | Eelco Dolstra | |
2020-10-07 | Serialize exceptions from the sandbox process to the parent | Eelco Dolstra | |
Fixes #4118. | |||
2020-10-07 | Remove generic std::optional<T> suppport from worker proto | John Ericson | |
See comment for rational; I think it's good to leave a comment lest anyone is tempted to add such a sum-type instance again. Fixes #4113 | |||
2020-10-06 | Prevent a deadlock when user namespace setup fails | Eelco Dolstra | |
Observed on Centos 7 when user namespaces are disabled: DerivationGoal::startBuilder() throws an exception, ~DerivationGoal() waits for the child process to exit, but the child process hangs forever in drainFD(userNamespaceSync.readSide.get()) in DerivationGoal::runChild(). Not sure why the SIGKILL doesn't get through. Issue #4092. | |||
2020-10-06 | Shut up some clang warnings | 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-10-05 | Merge pull request #3935 from obsidiansystems/binary-cache-addToStoreFromDump | Eelco Dolstra | |
Get rid of Hash::dummy from BinaryCacheStore | |||
2020-10-05 | Merge pull request #3895 from obsidiansystems/templated-daemon-protocol | Eelco Dolstra | |
More templated STL support for the daemon protocol | |||
2020-09-30 | Style | Eelco Dolstra | |
2020-09-30 | Merge remote-tracking branch 'upstream/master' into templated-daemon-protocol | John Ericson | |
2020-09-30 | nix::worker_proto -> worker_proto | John Ericson | |
2020-09-30 | Revert "Use template structs instead of phantoms" | John Ericson | |
This reverts commit 9ab07e99f527d1fa3adfa02839da477a1528d64b. | |||
2020-09-29 | Remove github-access-token in favor of access-token. | Kevin Quick | |
2020-09-29 | Merge branch 'master' into access-tokens | Kevin Quick | |
2020-09-29 | Make Headers an optional argument | Eelco Dolstra | |
2020-09-29 | Merge branch 'github-api-token' of https://github.com/imalsogreg/nix | Eelco Dolstra | |
2020-09-28 | Clarify comment a bit | John Ericson | |
2020-09-28 | Use `drvPath2` and give it a better name | John Ericson | |
2020-09-28 | Merge remote-tracking branch 'upstream/master' into ca-floating-upstream | John Ericson | |
2020-09-28 | Update src/libstore/binary-cache-store.cc | John Ericson | |
Co-authored-by: Eelco Dolstra <edolstra@gmail.com> | |||
2020-09-28 | Merge pull request #4064 from serokell/balsoft/fix-max-jobs | Eelco Dolstra | |
Fix max-jobs option | |||
2020-09-26 | Remove redundant nar hash and size setting | John Ericson | |
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com> | |||
2020-09-26 | Fix up BinaryCacheStore::addToStore taking a path | John Ericson | |
2020-09-26 | BinaryCacheStore::addTextToStore include CA field | John Ericson | |
2020-09-26 | Merge remote-tracking branch 'obsidian/master' into ↵ | John Ericson | |
binary-cache-addToStoreFromDump | |||
2020-09-25 | Merge remote-tracking branch 'origin/master' into github-api-token | Gregory Hale | |
2020-09-25 | Merge pull request #3953 from obsidiansystems/basic-derivation-goal-outputs | Eelco Dolstra | |
Deduplicate basic derivation goals too | |||
2020-09-25 | Re-add support for github-access-token, but mark as deprecated. | Kevin Quick | |
2020-09-25 | Fix reference to older name for access-tokens config value. | Kevin Quick | |
2020-09-24 | Update to use access-tokens configuration for github/gitlab access. | Kevin Quick | |
This change provides support for using access tokens with other instances of GitHub and GitLab beyond just github.com and gitlab.com (especially company-specific or foundation-specific instances). This change also provides the ability to specify the type of access token being used, where different types may have different handling, based on the forge type. | |||
2020-09-25 | Fix max-jobs option | Alexander Bantyev | |
After 0ed946aa616bbf7ffe7f90d3309abdd27d875b10, max-jobs setting (-j/--max-jobs) stopped working. The reason was that nrLocalBuilds (which compared to maxBuildJobs to figure out whether the limit is reached or not) is not incremented yet when tryBuild is started; So, the solution is to move the check to tryLocalBuild. Closes https://github.com/nixos/nix/issues/3763 | |||
2020-09-23 | Hopefully fix EPERM on macOS | Eelco Dolstra | |
2020-09-23 | Fix exception | Eelco Dolstra | |
2020-09-23 | lstat() cleanup | Eelco Dolstra | |
2020-09-23 | After rewriting a path, make it read-only | Eelco Dolstra | |
2020-09-23 | DerivationGoal::registerOutputs(): Don't canonicalize twice | Eelco Dolstra | |
Fixes #4021. | |||
2020-09-23 | canonicalisePathMetaData_(): Change assertion to error message | Eelco Dolstra | |
2020-09-23 | DerivationGoal::registerOutputs(): Fix bad format string | Eelco Dolstra | |
2020-09-23 | Return more info from `BinaryCacheStore::addToStoreCommon` | John Ericson | |
We don't need it yet, but we could/should in the future, and it's a cost-free change since we already have the reference. I like it. Co-authored-by: Robert Hensing <roberth@users.noreply.github.com> | |||
2020-09-23 | Clarify FIXME in `BinaryCacheStore::addToStoreCommon` | John Ericson | |
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com> | |||
2020-09-23 | Get rid of Hash::dummy from BinaryCacheStore | John Ericson | |