Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-07-06 | Destroy the cgroup prior to building | Eelco Dolstra | |
2020-07-06 | Reduce # of UIDs per build to 65536 | Eelco Dolstra | |
2^18 was overkill. The idea was to enable multiple containers to run inside a build. However, those containers can use the same UID range - we don't really care about perfect isolation between containers inside a build. | |||
2020-07-06 | Run builds in their own cgroup | Eelco Dolstra | |
Also, run builds in a cgroup namespace (ensuring /proc/self/cgroup doesn't leak information about the outside world) and mount /sys. This enables running systemd-nspawn and thus NixOS containers in a Nix build. | |||
2020-07-06 | canonicalisePathMetaData(): Support a UID range | Eelco Dolstra | |
2020-07-06 | Dynamically allocate UIDs | Eelco Dolstra | |
Rather than rely on a nixbld group, we now allocate UIDs/GIDs dynamically starting at a configurable ID (872415232 by default). Also, we allocate 2^18 UIDs and GIDs per build, and run the build as root in its UID namespace. (This should not be the default since it breaks some builds. We probably should enable this conditional on a requiredSystemFeature.) The goal is to be able to run (NixOS) containers in a build. However, this will also require some cgroup initialisation. The 2^18 UIDs/GIDs is intended to provide enough ID space to run multiple containers per build, e.g. for distributed NixOS tests. | |||
2020-07-03 | Merge branch 'master' into add-trace | Ben Burdette | |
2020-07-03 | nix develop: Fix bad regex | Eelco Dolstra | |
This was accepted by libstdc++ but not libc++. https://hydra.nixos.org/build/123569154 | |||
2020-07-03 | Shut up a clang warning | Eelco Dolstra | |
2020-07-03 | Shorten the path to the test root | regnat | |
Fix a socket length failure on the OSX builders | |||
2020-07-02 | Fix abort in 'nix develop' | Eelco Dolstra | |
2020-07-02 | spacing | Ben Burdette | |
2020-07-02 | move showTrace to new loggerSettings | Ben Burdette | |
2020-07-02 | assert for invalid fileorigin | Ben Burdette | |
2020-07-01 | spacing | Ben Burdette | |
2020-07-01 | if no errLoc, no Loc. | Ben Burdette | |
2020-07-01 | don't include errpos for addErrorContext | Ben Burdette | |
2020-07-01 | non-pos trace test | Ben Burdette | |
2020-07-01 | Cleanup | Eelco Dolstra | |
2020-07-01 | Merge branch 'remote-query-outputs' of https://github.com/tweag/nix | Eelco Dolstra | |
2020-06-30 | fix tests with the 'from string' change | Ben Burdette | |
2020-06-30 | comments and cleanup | Ben Burdette | |
2020-06-30 | double addtrace for 'called from' | Ben Burdette | |
2020-06-30 | Merge branch 'master' into add-trace | Ben Burdette | |
2020-06-30 | invalid pos check | Ben Burdette | |
2020-06-30 | check for a null symbol | Ben Burdette | |
2020-06-29 | trace formatting | Ben Burdette | |
2020-06-29 | NAR parser: Fix missing name field check | Eelco Dolstra | |
Discovered by @Kloenk. | |||
2020-06-29 | showTrace flag in loggers | Ben Burdette | |
2020-06-29 | Merge pull request #3729 from obsidiansystems/simpler-hased-mirror | Eelco Dolstra | |
hashed-mirrors: Use parsed derivation output rather than reconstructing it | |||
2020-06-29 | Merge pull request #3749 from rodarima/master | Eelco Dolstra | |
Fall back to copyPath if link fails with EPERM | |||
2020-06-27 | showtrace as function arg | Ben Burdette | |
2020-06-25 | 'string' makes more sense in nix repl | Ben Burdette | |
2020-06-25 | showTrace flag for ErrorInfo; showTrace test. | Ben Burdette | |
2020-06-25 | Fix empty std::optional dereference in writeDerivation() | Eelco Dolstra | |
https://hydra.nixos.org/build/123017579 | |||
2020-06-25 | Fall back to copyPath if link fails with EPERM | Rodrigo | |
BeeGFS doesn't allow hard-links and returns EPERM, so we fall back to copyPath. See https://github.com/NixOS/nix/issues/3748 | |||
2020-06-24 | add trace test; error formatting refinements | Ben Burdette | |
2020-06-24 | re-enable --show-trace check | Ben Burdette | |
2020-06-24 | convenience form of addTrace | Ben Burdette | |
2020-06-24 | repl indenting | Ben Burdette | |
2020-06-24 | repl indenting | Ben Burdette | |
2020-06-24 | Add a way to get all the outputs of a derivation with their label | regnat | |
Generalize `queryDerivationOutputNames` and `queryDerivationOutputs` by adding a `queryDerivationOutputMap` that returns the map `outputName=>outputPath` (not that this is not equivalent to merging the results of `queryDerivationOutputs` and `queryDerivationOutputNames` as sets don't preserve the order, so we would end up with an incorrect mapping). squash! Add a way to get all the outputs of a derivation with their label Rename StorePathMap to OutputPathMap | |||
2020-06-24 | re-remove | Ben Burdette | |
2020-06-24 | nixCode -> LinesOfCode | Ben Burdette | |
2020-06-23 | use plain errPos instead of nixCode; fix tests | Ben Burdette | |
2020-06-23 | re-add Pos origin in tests | Ben Burdette | |
2020-06-23 | Merge remote-tracking branch 'upstream/master' into add-trace | Ben Burdette | |
2020-06-23 | traces to bottom | Ben Burdette | |
2020-06-23 | Merge pull request #3724 from bburdette/hintfmt-percent | Eelco Dolstra | |
Hintfmt percent test, and fix | |||
2020-06-22 | with normaltxt, elide yellow color code instead of canceling it; use ↵ | Ben Burdette | |
normaltxt on plain_string hintfmt | |||
2020-06-22 | Update src/libutil/fmt.hh | Ben Burdette | |
Co-authored-by: John Ericson <git@JohnEricson.me> |