Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-06 | Make derivation primop code for fixed output more concise | John Ericson | |
2023-01-06 | Merge branch 'path-info' into ca-drv-exotic | John Ericson | |
2023-01-06 | Optimize `ValidPathInfo` construction a bit better | John Ericson | |
2023-01-06 | Use named field initialization for references | John Ericson | |
2023-01-06 | Merge branch 'path-info' into ca-drv-exotic | John Ericson | |
2023-01-06 | Make formatting consistent | John Ericson | |
2023-01-06 | Merge branch 'path-info' into ca-drv-exotic | John Ericson | |
2023-01-06 | Merge remote-tracking branch 'upstream/master' into path-info | John Ericson | |
2023-01-06 | Merge pull request #7498 from fricklerhandwerk/path+string | Eelco Dolstra | |
refactor documentation of operators, document `+` for strings and paths | |||
2023-01-06 | Merge pull request #7307 from hercules-ci/derivation-goal-improve-comment | Théophane Hufschmitt | |
libstore/derivation-goal: Elaborate a TODO for performance concern | |||
2023-01-06 | Merge pull request #7557 from NixOS/fix-7529 | Eelco Dolstra | |
On macOS with auto-uid-allocation and sandboxing, use the correct gid | |||
2023-01-05 | Merge pull request #7559 from ncfavier/no-check-modules | Théophane Hufschmitt | |
Don't check NixOS modules | |||
2023-01-05 | Don't check NixOS modules | Naïm Favier | |
NixOS modules can be paths. Rather than dig further down into the layer violation, don't check anything specific to NixOS modules. | |||
2023-01-05 | Merge pull request #7500 from akhildevelops/patch-1 | Eelco Dolstra | |
Updated docs to delete build users and group | |||
2023-01-05 | Merge pull request #7542 from edolstra/gc-deadlock | Eelco Dolstra | |
Fix deadlock between auto-GC and addTempRoot() | |||
2023-01-05 | Merge pull request #7539 from tweag/fix-nix-why-depends--derivation | Eelco Dolstra | |
Fix `nix why-depends --derivation` | |||
2023-01-05 | bring back table, extract annotations | Valentin Gagarin | |
this makes the table less unwieldy, and leaves enough space for extensive explanations. | |||
2023-01-05 | add links to documentation for data types | Valentin Gagarin | |
2023-01-05 | use more self-explanatory placeholder names | Valentin Gagarin | |
2023-01-05 | add semantics of overloaded `+` operator | Valentin Gagarin | |
2023-01-05 | reword descriptions of operators | Valentin Gagarin | |
add notes on semantics where appropriate | |||
2023-01-05 | convert table to subsections | Valentin Gagarin | |
this form is much easier to maintain (also with minimal diffs), and allows for more details on each operator. this change a purely mechanical transformation, without changing any contents. | |||
2023-01-05 | reorder columns | Valentin Gagarin | |
this is for a simpler transformation into a series of subsections | |||
2023-01-05 | On macOS with auto-uid-allocation and sandboxing, use the correct gid | Eelco Dolstra | |
macOS doesn't have user namespacing, so the gid of the builder needs to be nixbld. The logic got "has sandboxing enabled" confused with "has user namespaces". Fixes #7529. | |||
2023-01-05 | Merge pull request #7551 from NixOS/macos-sandbox-files | Eelco Dolstra | |
Include macOS sandbox files in the Nix binary | |||
2023-01-04 | Move macOS sandbox files to sr/libstore/build | Eelco Dolstra | |
2023-01-04 | Include macOS sandbox files in the Nix binary | Eelco Dolstra | |
This basically reverts 6e5165b77370c76bfa39d4b55e9f83673f3bd466. It fixes errors like sandbox-exec: <internal init prelude>:292:47: unable to open sandbox-minimal.sb: not found when trying to run a development Nix installed in a user's home directory. Also, we're trying to minimize the number of installed files to make it possible to deploy Nix as a single statically-linked binary. | |||
2023-01-03 | nix --version: Print the data directory | Eelco Dolstra | |
2023-01-03 | Fix deadlock between auto-GC and addTempRoot() | Eelco Dolstra | |
Previously addTempRoot() acquired the LocalStore state lock and waited for the garbage collector to reply. If the garbage collector is in the same process (as it the case with auto-GC), this would deadlock as soon as the garbage collector thread needs the LocalStore state lock. So now addTempRoot() uses separate Syncs for the state that it needs. As long at the auto-GC thread doesn't call addTempRoot() (which it shouldn't), it shouldn't deadlock. Fixes #3224. | |||
2023-01-03 | Move creation of the temp roots file into its own function | Eelco Dolstra | |
This also moves the file handle into its own Sync object so we're not holding the _state while acquiring the file lock. There was no real deadlock risk here since locking a newly created file cannot block, but it's still a bit nicer. | |||
2023-01-03 | Merge pull request #7516 from ↵ | Eelco Dolstra | |
NixOS/dependabot/github_actions/zeebe-io/backport-action-1.0.1 Bump zeebe-io/backport-action from 0.0.9 to 1.0.1 | |||
2023-01-03 | Merge pull request #7497 from rski/master | Eelco Dolstra | |
src/libstore: Print the reason opening the DB failed | |||
2023-01-02 | Merge pull request #6204 from layus/coerce-string | Eelco Dolstra | |
Add context to better locate runtime coercions | |||
2023-01-02 | Put the --show-trace hint in the logical place | Eelco Dolstra | |
2023-01-02 | Don't use state.positions[noPos] | Eelco Dolstra | |
This caused traces 'at «none»:0: (source not available)'. | |||
2023-01-02 | Merge remote-tracking branch 'origin/master' into coerce-string | Eelco Dolstra | |
2023-01-02 | Fix why-depends for CA derivations (again) | Théophane Hufschmitt | |
This has the same goal as b13fd4c58e81b2b2b0d72caa5ce80de861622610,but achieves it in a different way in order to not break `nix why-depends --derivation`. | |||
2023-01-02 | Increase the test coverage of `why-depends` | Théophane Hufschmitt | |
- Test with `--derivation` - Actually test with ca-derivations (was suuposedly done, but not activated because of a missing line in `local.mk`) | |||
2023-01-02 | Revert "Fix why-depends for CA derivations" | Théophane Hufschmitt | |
This reverts commit b13fd4c58e81b2b2b0d72caa5ce80de861622610. | |||
2023-01-02 | Merge pull request #5941 from hercules-ci/optimize-intersectAttrs | Théophane Hufschmitt | |
Optimize intersectAttrs performance | |||
2023-01-02 | Merge pull request #7426 from tianyuanhao/master | Théophane Hufschmitt | |
Avoid poly_user_note_set twice | |||
2023-01-02 | Merge pull request #7278 from fricklerhandwerk/antiquotation | Théophane Hufschmitt | |
antiquotation -> string interpolation | |||
2023-01-02 | Merge pull request #7066 from fricklerhandwerk/architecture-overview | Théophane Hufschmitt | |
manual: architecture overview | |||
2023-01-02 | antiquotation -> string interpolation | Valentin Gagarin | |
as proposed by @mkaito[1] and @tazjin[2] and discussed with @edolstra and Nix maintainers [1]: https://github.com/NixOS/nix.dev/pull/267#issuecomment-1270076332 [2]: https://github.com/NixOS/nix.dev/pull/267#issuecomment-1270201979 Co-authored-by: John Ericson <git@JohnEricson.me> Co-authored-by: Eelco Dolstra <edolstra@gmail.com> | |||
2023-01-02 | Merge pull request #7470 from obsidiansystems/simplify-tests-slightly | Eelco Dolstra | |
Make `./mk/run-test.sh` work by itself; add `mk/debug-test.sh` | |||
2023-01-02 | Merge pull request #7478 from hercules-ci/make-sure-initNix-called | Théophane Hufschmitt | |
libstore: Make sure that initNix has been called | |||
2023-01-02 | Merge pull request #7536 from fricklerhandwerk/doc-fixup | Théophane Hufschmitt | |
remove redundant re-definition of store derivations | |||
2023-01-02 | remove redundant re-definition of store derivations | Valentin Gagarin | |
2023-01-02 | Merge pull request #7485 from fricklerhandwerk/doc-store-derivation | Théophane Hufschmitt | |
define "store derivation" | |||
2023-01-02 | Merge pull request #7507 from trofi/use-nix-settings-in-tests | Théophane Hufschmitt | |
tests: switch to non-deprecated nix.settings.* module parameters |