Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-07-14 | Merge pull request #8691 from obsidiansystems/built-path | Robert Hensing | |
Move `BuiltPath` to its own header/C++ file in libcmd | |||
2023-07-13 | Merge pull request #8694 from obsidiansystems/fix-lang-tests | John Ericson | |
Fix race condition in the language tests | |||
2023-07-13 | Fix race condition in the language tests | John Ericson | |
When we pipe to `>(...)` like that, we unfortunately don't wait for the process to finish. Better to just substitute the file. Also, use the "unified" diff output that people (including myself) are more familiar with, thanks to Git. | |||
2023-07-12 | Move `BuiltPath` to its own header/C++ file in libcmd | John Ericson | |
It is less important, and used less widely, than `DerivedPath`. | |||
2023-07-11 | Merge pull request #7954 from obsidiansystems/lang-test-improvements | John Ericson | |
Language test improvements | |||
2023-07-11 | Expanded test suite | Mathnerd314 | |
* Lang now verifies errors and parse output * Some new miscellaneous tests * Easy way to update the tests * Document workflow in manual * Use `!` not `~` as separater char for sed It is confusing to use `~` when we are talking about paths and home directories! * Test test suite itself (`test/lang-test/infra.sh`) Additionally, run shellcheck on `tests/lang.sh` to help ensure it is correct, now that is is more complex. Co-authored-by: Robert Hensing <roberth@users.noreply.github.com> Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io> | |||
2023-07-10 | Fix test file name | John Ericson | |
It's UTF-8, not UFT-8. | |||
2023-07-10 | Merge pull request #8579 from obsidiansystems/findPath-cleanup-2 | John Ericson | |
Further search path cleanups | |||
2023-07-10 | Merge pull request #8681 from inclyc/libexpr/parser-move-noeffect | Eelco Dolstra | |
libexpr: remove std::move() for `basePath` in parser, it has no effect | |||
2023-07-10 | Merge pull request #8660 from Hoverbear/nix-daemon.service-tasksmax-infinity | Eelco Dolstra | |
nix-daemon.service: Add TasksMax=1048576 | |||
2023-07-10 | Fix some grammar in installables doc (#8682) | Bader AlAttar | |
2023-07-10 | libexpr: remove std::move() for `basePath` in parser, it has no effect | Yingchi Long | |
2023-07-09 | Merge pull request #8370 from hercules-ci/fetchClosure-input-addressed | John Ericson | |
`fetchClosure`: input addressed and pure | |||
2023-07-09 | Clean up `SearchPath` | John Ericson | |
- Better types - Own header / C++ file pair - Test factored out methods - Pass parsed thing around more than strings Co-authored-by: Robert Hensing <roberth@users.noreply.github.com> | |||
2023-07-09 | Clean up `resolveSearchPathElem` | John Ericson | |
We should use `std::optional<std::string>` not `std::pair<bool, std::string>` for an optional string. | |||
2023-07-08 | Merge pull request #8612 from NixOS/labeler-tests-to-with-tests | Robert Hensing | |
labeler.yml: tests -> with-tests | |||
2023-07-07 | Choose a reasonable number similar to LimitNOFile | Ana Hobden | |
2023-07-07 | signing.sh: Revert test improvement because it fails on GHA + macOS | Robert Hensing | |
2023-07-07 | fetchClosure: Interleave the examples in the docs | Robert Hensing | |
2023-07-07 | fetchClosure: Apply suggestions from code review | Robert Hensing | |
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io> | |||
2023-07-06 | nix-daemon.service: Add TasksMax=infinity | Ana Hobden | |
2023-07-05 | Merge pull request #8631 from iFreilicht/profile-list | Eelco Dolstra | |
Profile list improvements | |||
2023-07-04 | Document the path flakeref format (#8640) | Théophane Hufschmitt | |
* Document the path flakeref format Fix https://github.com/NixOS/nix/issues/8482 Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io> | |||
2023-07-03 | Merge pull request #8633 from inclyc/libexpr/fix-data-race-in-lexer.l | Eelco Dolstra | |
libexpr: use `thread_local` to make the parser thread-safe | |||
2023-07-03 | Fix test | Eelco Dolstra | |
2023-07-03 | nix profile list: Add --json flag | Eelco Dolstra | |
This just dumps the profile manifest to stdout. | |||
2023-07-03 | Rename 'resolvedRef' to 'lockedRef' | Eelco Dolstra | |
'resolvedRef' was incorrect, since a resolved ref is one after registry resolution, which may still be unlocked (e.g. 'nixpkgs' -> 'github:NixOS/nixpkgs'). | |||
2023-07-03 | libexpr: use `thread_local` to make the parser thread-safe | Yingchi Long | |
If we call `adjustLoc`, the global variable `prev_yylloc` is shared between threads and racy. Currently, nix itself does not concurrently parsing files, but this is helpful for libexpr users. (The parser is thread-safe except this.) | |||
2023-07-02 | nix profile list: Improve readability of the output | Eelco Dolstra | |
2023-07-01 | Merge pull request #8566 from inclyc/nixd/value-print-depth | Robert Hensing | |
libexpr: extend `Value::print` to allow limited depth | |||
2023-07-01 | Merge pull request #8619 from hercules-ci/issue-8616-dont-install-test-program | Robert Hensing | |
tests: Don't install test-libstoreconsumer program | |||
2023-06-30 | tests: Don't install test-libstoreconsumer program | Robert Hensing | |
Sorry about that. Fixes https://github.com/NixOS/nix/issues/8616 | |||
2023-06-30 | tests/signing.sh: Check signature checking error message | Robert Hensing | |
We should check error messages, so that we know the command fails for the right reason. Alternatively, a mere typo can run the test undetected. | |||
2023-06-30 | tests/fetchClosure: Improve coverage of new and some existing flows | Robert Hensing | |
2023-06-30 | fetchClosure: Docs and error message improvements | Robert Hensing | |
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io> | |||
2023-06-30 | doc: Improve `fetchClosure` documentation | Robert Hensing | |
2023-06-30 | doc: Typo | Robert Hensing | |
2023-06-30 | fetchClosure: Refactor: replace enableRewriting | Robert Hensing | |
A single variable is nice and self-contained. | |||
2023-06-30 | fetchClosure: Split into three cases | Robert Hensing | |
2023-06-30 | makeContentAddressed: Add single path helper | Robert Hensing | |
2023-06-30 | fetchClosure: Disallow toPath for inputAddressed = true | Robert Hensing | |
2023-06-30 | fetchClosure: Always check that inputAddressed matches the result | Robert Hensing | |
2023-06-30 | fetchClosure: Allow input addressed paths in pure mode | Robert Hensing | |
When explicitly requested by the caller, as suggested in the meeting (https://github.com/NixOS/nix/pull/8090#issuecomment-1531139324) > @edolstra: { toPath } vs { fromPath } is too implicit I've opted for the `inputAddressed = true` requirement, because it we did not agree on renaming the path attributes. > @roberth: more explicit > @edolstra: except for the direction; not immediately clear in which direction the rewriting happens This is in fact the most explicit syntax and a bit redundant, which is good, because that redundancy lets us deliver an error message that reminds expression authors that CA provides a better experience to their users. | |||
2023-06-30 | fetchClosure: Refactor: rename toCA -> enableRewriting | Robert Hensing | |
2023-06-30 | fetchClosure: Factor out attribute hint | Robert Hensing | |
2023-06-30 | Merge pull request #8614 from ShamrockLee/quickfix-exdev | Eelco Dolstra | |
linkOrCopy: Fallback upon cross-device link error (EXDEV) | |||
2023-06-30 | linkOrCopy: Fallback upon cross-device link error (EXDEV) | Yueh-Shun Li | |
Fix building derivations in local chroot store on OpenAFS, where hard linking accross directories causes cross-device link error (EXDEV). | |||
2023-06-30 | labeler.yml: tests -> with-tests | Robert Hensing | |
2023-06-30 | Merge pull request #8589 from jfroche/sign-paths-as-allowed-user | Eelco Dolstra | |
Allow to sign path as unprivileged user | |||
2023-06-29 | Merge pull request #8600 from inclyc/libexpr/fix-leaking-in-stripIndentation | Robert Hensing | |
libexpr: fix leaking `es2` in stripIndentation (parser.y) |