Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-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 #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 | |
2023-01-08 | tests: fix for nixpkgs 22.11 | Linus Heckemann | |
runCommand now uses stdenvNoCC by default, so that needs to be included instead of the regular stdenv. | |||
2023-01-07 | Merge pull request #7568 from willbush/patch-1 | Théophane Hufschmitt | |
Fix typo in example for builtin function map | |||
2023-01-06 | Fix typo in example for builtin function map | Will Bush | |
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. |