Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-14 | Use `builtins.unsafeDiscardOutputDependency` in the ca/text-hash-out test | John Ericson | |
We don't want to build that drv file yet, just depend on it itself. | |||
2023-01-14 | Merge branch 'path-info' into ca-drv-exotic | John Ericson | |
2023-01-14 | Make `ValidPathInfo` have plain `StorePathSet` references like before | John Ericson | |
This change can wait for another PR. | |||
2023-01-14 | Merge remote-tracking branch 'upstream/master' into path-info | John Ericson | |
2023-01-14 | Merge pull request #7599 from obsidiansystems/move-path-info-definitions | Robert Hensing | |
Move `ValidPathInfo` defintions to `path-info.cc` | |||
2023-01-13 | Move `ValidPathInfo` defintions to `path-info.cc` | John Ericson | |
Originally there was no `path-info.*`, then there was `path-info.hh`, then there was `path-info.cc`, but only for new things. Moving this stuff over makes everything consistent. | |||
2023-01-13 | Move new `ValidPathInfo` methods to path-info.cc | John Ericson | |
We'll move the old ones separately, so as not to clutter the diff. | |||
2023-01-13 | Merge pull request #7597 from tweag/move-implem-bit-to-implem-file | Robert Hensing | |
Move the `getBuildLog` implementation to its own implementation file | |||
2023-01-13 | Merge pull request #6815 from obsidiansystems/better-wanted-outputs | Robert Hensing | |
`OutputSpec` for `DerivationGoal` and `DerivedPath`, today's `OutputSpec` -> `ExtendedOutputSpec` | |||
2023-01-13 | Move the `getBuildLog` implementation to its own implementation file | Théophane Hufschmitt | |
Keep the header minimal and clean | |||
2023-01-13 | Merge pull request #7430 from tweag/ca/fix-nix-log | Théophane Hufschmitt | |
Ca/fix nix log | |||
2023-01-13 | Merge pull request #7427 from fricklerhandwerk/pr-policy | Théophane Hufschmitt | |
state priorities in triaging and discussion process | |||
2023-01-12 | Write more (extended) output spec tests | John Ericson | |
2023-01-12 | Assert on construction that `OutputsSpec::Names` is non-empty | John Ericson | |
2023-01-12 | Unit test `OuputsSpec::{union_, isSubsetOf}` | John Ericson | |
2023-01-12 | Split `OutputsSpec::merge` into `OuputsSpec::{union_, isSubsetOf}` | John Ericson | |
Additionally get rid of the evil time we made an empty `OutputSpec::Names()`. | |||
2023-01-12 | state priorities in triaging and discussion process | Valentin Gagarin | |
based on - Nix team decisions https://discourse.nixos.org/t/2022-11-11-nix-team-meeting-minutes-7/23451#planning-discussion-1 https://discourse.nixos.org/t/2022-12-02-nix-team-meeting-minutes-13/23731#discussion-3 - proposal to deal use labels more effectively https://discourse.nixos.org/t/improving-nix-developer-experience/21629 - documentation team decision to foster gauging interest using upvotes https://github.com/NixOS/nix/pull/7387 | |||
2023-01-12 | Merge pull request #7590 from fricklerhandwerk/remove-unnecessary-cast | Théophane Hufschmitt | |
remove unncessary cast | |||
2023-01-12 | remove unncessary cast | Valentin Gagarin | |
2023-01-11 | Improve tests for `OutputsSpec` | John Ericson | |
2023-01-11 | Remove default constructor from `OutputsSpec` | John Ericson | |
This forces us to be explicit. It also requires to rework how `from_json` works. A `JSON_IMPL` is added to assist with this. | |||
2023-01-11 | Make it hard to construct an empty `OutputsSpec::Names` | John Ericson | |
This should be a non-empty set, and so we don't want people doing this by accident. We remove the zero-0 constructor with a little inheritance trickery. | |||
2023-01-11 | Simplify and document store path installable parsing | John Ericson | |
2023-01-11 | Split `OutputsSpec` and `ExtendedOutputsSpec`, use the former more | John Ericson | |
`DerivedPath::Built` and `DerivationGoal` were previously using a regular set with the convention that the empty set means all outputs. But it is easy to forget about this rule when processing those sets. Using `OutputSpec` forces us to get it right. | |||
2023-01-11 | Rename `OutputPath` -> `ExtendedOutputPath` | John Ericson | |
Do this prior to making a new more limitted `OutputPath` we will use in more places. | |||
2023-01-11 | Improve `OutputsSpec` slightly | John Ericson | |
A few little changes preparing for the rest. | |||
2023-01-11 | Merge pull request #7581 from edolstra/getline-tests | Eelco Dolstra | |
Backport getLine tests from lazy-trees | |||
2023-01-11 | Backport getLine tests from lazy-trees | Eelco Dolstra | |
2023-01-11 | Merge pull request #7543 from obsidiansystems/typed-string-context | Théophane Hufschmitt | |
Parse string context elements properly | |||
2023-01-10 | Merge pull request #7541 from hercules-ci/check-manual-links | Robert Hensing | |
Check links in the manual | |||
2023-01-10 | doc/manual/src/contributing/hacking.md: Apply suggestion | Robert Hensing | |
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io> | |||
2023-01-10 | doc/manual/hacking: Document @docroot@ variable | Robert Hensing | |
2023-01-10 | doc/manual: Apply suggestions from code review | Robert Hensing | |
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io> | |||
2023-01-10 | doc/manual: Move the html files back where they were before | Robert Hensing | |
... before the link checking "output" was added, bumping the html output into a subdirectory. | |||
2023-01-10 | doc/manual: Document hacking on the manual links | Robert Hensing | |
2023-01-10 | doc/manual: Fix broken internal links | Robert Hensing | |
The targets I could find. | |||
2023-01-10 | doc/manual: Introduce @docroot@ as a stable base for includable snippets | Robert Hensing | |
This way the links are clearly within the manual (ie not absolute paths), while allowing snippets to reference the documentation root reliably, regardless of at which base url they're included. | |||
2023-01-10 | manual: Check links | Robert Hensing | |
mdbook-linkcheck is not consistent about its warning setting. It disables some warnings, but not the warnings about lack of fragment checking support; hence the extra filtering. | |||
2023-01-10 | Parse string context elements properly | John Ericson | |
Prior to this change, we had a bunch of ad-hoc string manipulation code scattered around. This made it hard to figure out what data model for string contexts is. Now, we still store string contexts most of the time as encoded strings --- I was wary of the performance implications of changing that --- but whenever we parse them we do so only through the `NixStringContextElem::parse` method, which handles all cases. This creates a data type that is very similar to `DerivedPath` but: - Represents the funky `=<drvpath>` case as properly distinct from the others. - Only encodes a single output, no wildcards and no set, for the "built" case. (I would like to deprecate `=<path>`, after which we are in spitting distance of `DerivedPath` and could maybe get away with fewer types, but that is another topic for another day.) | |||
2023-01-10 | Make clear that `StorePathWithOutputs` is a deprecated type | John Ericson | |
- Add a comment - Put `OutputsSpec` in a different header (First part of #6815) - Make a few stray uses of it in new code use `DerivedPath` instead. | |||
2023-01-10 | Merge pull request #7484 from edolstra/fix-7417 | Eelco Dolstra | |
InstallableFlake::toDerivedPaths(): Support paths and store paths | |||
2023-01-10 | Merge pull request #7547 from alxthm/fish-support-older-versions | Eelco Dolstra | |
Fix Nix installation on older versions of fish | |||
2023-01-10 | Add a FIXME | Eelco Dolstra | |
2023-01-10 | Clean up toDerivedPaths() logic | Eelco Dolstra | |
2023-01-10 | Apply suggestions from code review | Eelco Dolstra | |
Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com> | |||
2023-01-10 | Show string in error message | Eelco Dolstra | |
2023-01-10 | ExtraInfo -> ExtraPathInfo | Eelco Dolstra | |
2023-01-10 | Merge remote-tracking branch 'origin/master' into fix-7417 | Eelco Dolstra | |
2023-01-10 | Merge pull request #7570 from lheckemann/fix-tests | Eelco Dolstra | |
tests: fix for nixpkgs 22.11 | |||
2023-01-09 | Add a pointer from "realising" to `nix log`. (#4876) | Jeremy Fleischman | |