Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | Merge pull request #5941 from hercules-ci/optimize-intersectAttrs | Théophane Hufschmitt | |
Optimize intersectAttrs performance | |||
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 #7478 from hercules-ci/make-sure-initNix-called | Théophane Hufschmitt | |
libstore: Make sure that initNix has been called | |||
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 #7351 from NaN-git/fix-mkString | Théophane Hufschmitt | |
cleanup eval.hh/eval.cc | |||
2023-01-02 | Merge pull request #7521 from ncfavier/migration-deadlock | Théophane Hufschmitt | |
Release shared lock before acquiring exclusive lock | |||
2023-01-01 | Fix error message | Steven Shaw | |
2022-12-29 | Merge pull request #7524 from ncfavier/sandbox-paths-closure | Eelco Dolstra | |
doc: sandbox-paths computes closures | |||
2022-12-29 | Merge pull request #7504 from edolstra/nix-develop-personality | Eelco Dolstra | |
nix develop: Set personality | |||
2022-12-28 | doc: sandbox-paths computes closures | Naïm Favier | |
2022-12-27 | Release shared lock before acquiring exclusive lock | Naïm Favier | |
In principle, this should avoid deadlocks where two instances of Nix are holding a shared lock on big-lock and are both waiting to get an exclusive lock. However, it seems like `flock(2)` is supposed to do this automatically, so it's not clear whether this is actually where the problem comes from. | |||
2022-12-24 | Optimize intersectAttrs performance | Robert Hensing | |
Always traverse the shortest set. | |||
2022-12-24 | libstore: Make sure that initNix has been called | Robert Hensing | |
Prevent bugs like https://github.com/cachix/cachix/pull/477 | |||
2022-12-24 | remove undefined function | Philipp Otterbein | |
2022-12-24 | remove function makeImmutableStringWithLen | Philipp Otterbein | |
2022-12-23 | nix develop: Set personality | Eelco Dolstra | |
This makes 'nix develop' set the Linux personality in the same way that the actual build does, allowing a command like 'nix develop nix#devShells.i686-linux.default' on x86_64-linux to work correctly. | |||
2022-12-23 | Merge pull request #7503 from edolstra/fix-dirOf | Eelco Dolstra | |
Fix CanonPath::dirOf() returning a string_view of a temporary | |||
2022-12-23 | Fix CanonPath::dirOf() returning a string_view of a temporary | Eelco Dolstra | |
https://hydra.nixos.org/build/202837872 | |||
2022-12-22 | Merge pull request #7493 from mupdt/primops-storeDir-test-non-standard-path | Eelco Dolstra | |
primops `storeDir` test uses `settings.nixStore` | |||
2022-12-21 | primops `storeDir` test uses `settings.nixStore` | mupdt | |
2022-12-21 | link "store derivation" to glossary definition | Valentin Gagarin | |
2022-12-21 | update description of "store derivation" in installables section | Valentin Gagarin | |
a store derivation is not a store path itself, it has a store path. | |||
2022-12-21 | [PDT] TDE-3114: prevent a race-condition when creating the S3 cache | mupdt | |
2022-12-20 | Merge pull request #7451 from edolstra/abstract-pos | Eelco Dolstra | |
Introduce AbstractPos | |||
2022-12-20 | Merge pull request #7473 from hercules-ci/sqlite-error | Théophane Hufschmitt | |
Improve sqlite error messages | |||
2022-12-20 | Merge pull request #7480 from nrdxp/fix-develop-drv | Théophane Hufschmitt | |
fix(develop): make `nix develop` drv recreatable | |||
2022-12-19 | fix(develop): make `nix develop` drv recreatable | Timothy DeHerrera | |
2022-12-19 | Merge pull request #7462 from ↵ | Domen Kožar | |
rapenne-s/improve_messaging_reusing_trusted_substituter Inform user instead of warning them when using a trusted substituter | |||
2022-12-19 | Merge pull request #7450 from edolstra/canon-path | Eelco Dolstra | |
Add CanonPath wrapper to represent canonicalized paths | |||
2022-12-17 | Improve sqlite error messages | Robert Hensing | |
They did not include the detailed error message, losing essential information for troubleshooting. Example message: warning: creating statement 'insert or rplace into NARs(cache, hashPart, namePart, url, compression, fileHash, fileSize, narHash, narSize, refs, deriver, sigs, ca, timestamp, present) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 1)': at offset 10: SQL logic error, near "rplace": syntax error (in '/tmp/nix-shell.grQ6f7/nix-test/tests/binary-cache/test-home/.cache/nix/binary-cache-v6.sqlite') It's not the best example; more important information will be in the message for e.g. a constraint violation. I don't see why this specific error is printed as a warning, but that's for another commit. | |||
2022-12-16 | printMsg replacement by printInfo | Solène Rapenne | |
Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com> | |||
2022-12-15 | Fix a crash in DerivedPath::Built::toJSON() with impure derivations | Eelco Dolstra | |
The use of 'nullptr' here didn't result in a null JSON value, but in a nullptr being cast to a string, which aborts. | |||
2022-12-14 | warnings: switch to info level when using a saved substituter | Solène Rapenne | |
2022-12-14 | Allow disabling build users by unsetting `build-users-group` | Naïm Favier | |
Unsetting `build-users-group` (without `auto-allocate-uids` enabled) gives the following error: ``` src/libstore/lock.cc:25: static std::unique_ptr<nix::UserLock> nix::SimpleUserLock::acquire(): Assertion `settings.buildUsersGroup != ""' failed. ``` Fix the logic in `useBuildUsers` and document the default value for `build-users-group`. | |||
2022-12-13 | Merge pull request #7455 from rapenne-s/documentation_fix | Eelco Dolstra | |
Add anchors and links to definition | |||
2022-12-13 | Merge pull request #4543 from obsidiansystems/indexed-store-path-outputs | Eelco Dolstra | |
Low level `<drvPath>^<outputName>` installable syntax to match existing `<highLevelInstallable>^<outputNames>` syntax | |||
2022-12-13 | Restore display of source lines for stdin/string inputs | Eelco Dolstra | |
2022-12-13 | Fix compilation | Eelco Dolstra | |
2022-12-13 | Improve cast safety | Eelco Dolstra | |
Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com> | |||
2022-12-13 | documentation: use sections instead of list items | Solène Rapenne | |
2022-12-13 | documentation: link flake URL term to definition | Solène Rapenne | |
2022-12-13 | documentation: fix link to definition | Solène Rapenne | |
2022-12-13 | Merge pull request #6741 from Mindavi/nix-no-gc | Théophane Hufschmitt | |
support building with --enable-gc=no | |||
2022-12-13 | Introduce AbstractPos | Eelco Dolstra | |
This makes the position object used in exceptions abstract, with a method getSource() to get the source code of the file in which the error originated. This is needed for lazy trees because source files don't necessarily exist in the filesystem, and we don't want to make libutil depend on the InputAccessor type in libfetcher. | |||
2022-12-12 | Merge branch 'indexed-store-path-outputs' of github.com:obsidiansystems/nix ↵ | John Ericson | |
into indexed-store-path-outputs | |||
2022-12-12 | Merge remote-tracking branch 'upstream/master' into indexed-store-path-outputs | John Ericson | |