aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-01-23Merge pull request #7641 from layus/coerce-strings-fixupsThéophane Hufschmitt
Coerce strings fixups
2023-01-22primop: add readFileType, optimize readDirAlex Ameen
Allows checking directory entry type of a single file/directory. This was added to optimize the use of `builtins.readDir` on some filesystems and operating systems which cannot detect this information using POSIX's `readdir`. Previously `builtins.readDir` would eagerly use system calls to lookup these filetypes using other interfaces; this change makes these operations lazy in the attribute values for each file with application of `builtins.readFileType`.
2023-01-21Fix #7655John Ericson
We had some local variables left over from the older (more complicated) implementation of this function. They should all be unused, but one wasn't by mistake. Delete them all, and replace the one that was still in use as intended.
2023-01-21Expand tests to reproduce #7655John Ericson
The original `builtins.getContext` test from 1d757292d0cb78beec32fcdfe15c2944a4bc4a95 would have caught this. The problem is that b30be6b450f872f8be6dc8afa28f4b030fa8d1d1 adding `builtins.appendContext` modified that test to make it test too much at once, rather than adding a separate test. We now have isolated tests for both functions, and also a property test showing everything put together (in the form of an eta rule for strings with context). This is better coverage and properly reproduces the bug.
2023-01-20PR template: Specify path to integration testsRobert Hensing
2023-01-20Use the official, documented NixOS runTest interfaceRobert Hensing
2023-01-20tests: Move NixOS tests to tests/nixosRobert Hensing
This will allow contributors to find them more easily.
2023-01-20Merge pull request #7577 from hercules-ci/pr-templateRobert Hensing
.github: Add pull request template
2023-01-20Update .github/PULL_REQUEST_TEMPLATE.mdRobert Hensing
2023-01-20Update .github/PULL_REQUEST_TEMPLATE.mdRobert Hensing
2023-01-20Merge pull request #7647 from fps/operator_docValentin Gagarin
doc: fix update operator description
2023-01-20doc: fix update operator descriptionFlorian Paul Schmidt
2023-01-20Use complete '__toString' attribute nameGuillaume Maudoux
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2023-01-20Fix unreachable error messageGuillaume Maudoux
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2023-01-20Merge pull request #7490 from fricklerhandwerk/doc-realiseThéophane Hufschmitt
define the terms "realise" and "valid" for store paths
2023-01-20Fix url parsing for urls using `file+`Eric Wolf
`file+https://example.org/test.mp4` should not be rejected with `unexpected authority`.
2023-01-19Merge pull request #7629 from phip1611/patch-3Valentin Gagarin
2023-01-19doc: update language/index.mdPhilipp Schuster
- make `<nixpkgs>` visible (was blank in the rendered version)
2023-01-19Always display addErrorContext messages in (expanded) tracesGuillaume Maudoux
2023-01-19Discuss re-entrant errors and designGuillaume Maudoux
2023-01-19Add tests for error traces, and fixesGuillaume Maudoux
2023-01-19Revert "Revert "Merge pull request #6204 from layus/coerce-string""Guillaume Maudoux
This reverts commit 9b33ef3879a764bed4cc2404a08344c3a697a646.
2023-01-19Merge pull request #7640 from marceltransier/patch-2Eelco Dolstra
Fix update operator usage in operators.md
2023-01-19Merge pull request #7638 from marceltransier/patch-1Eelco Dolstra
Fix markdown error in operators.md
2023-01-19Fix update operator usage in operators.mdMarcel Transier
2023-01-18Fix markdown error in operators.mdMarcel Transier
Escape logical or pipe in markdown table according to https://github.github.com/gfm/#example-200
2023-01-18Merge pull request #7636 from asymmetric/relnotes-flakre-regEelco Dolstra
Relase notes: add empty flake registry
2023-01-18Relase notes: add empty flake registryLorenzo Manacorda
Introduced in #5420
2023-01-18Merge pull request #7631 from edolstra/output-namesEelco Dolstra
OutputSpec: Allow all valid output names
2023-01-18Add test for OutputsSpec::NamesEelco Dolstra
From @Ericson2314.
2023-01-18Fix indentationEelco Dolstra
2023-01-18Update binary-cache-substituter.md (#7628)Philipp Schuster
`binary-caches` is deprecated and `substituters` the new recommended option.
2023-01-18Merge pull request #7627 from edolstra/fetchTarball-channelEelco Dolstra
Restore support for channel: URLs in fetchTarball
2023-01-18Add some tests for illegal output namesEelco Dolstra
2023-01-18OutputSpec: Allow all valid output namesEelco Dolstra
Fixes #7624.
2023-01-18Merge pull request #7598 from yangsheng6810/fix_env_escapeThéophane Hufschmitt
Add escape for systemd service in installer script
2023-01-18Restore support for channel: URLs in fetchTarballEelco Dolstra
Fixes #7625.
2023-01-18Merge pull request #7621 from hercules-ci/nixpkgs-lib-regression-testRobert Hensing
Revert #6204 to fix regression, add nixpkgs/lib/tests as regression test
2023-01-18flake.nix: Add nixpkgs/lib/tests as regression testRobert Hensing
2023-01-18Revert "Merge pull request #6204 from layus/coerce-string"Robert Hensing
This reverts commit a75b7ba30f1e4f8b15e810fd18e63ee9552e0815, reversing changes made to 9af16c5f742300e831a2cc400e43df1e22f87f31.
2023-01-17Merge pull request #7620 from NixOS/bump-2.14.0Eelco Dolstra
Bump version
2023-01-17Bump versionEelco Dolstra
2023-01-17Merge pull request #7614 from edolstra/typoEelco Dolstra
Fix typo in the release notes
2023-01-17TypoEelco Dolstra
2023-01-17Merge pull request #7613 from obsidiansystems/fix-variant-missing-rawEelco Dolstra
Try again to fix aarch64-linux build failure
2023-01-17Try again to fix aarch64-linux build failureJohn Ericson
f419ab48e6394838097f158265ac3cc531ee7958 was on the right track, but there are a few more missing `raw()` calls to fix.
2023-01-17Keep the default profile the sameThéophane Hufschmitt
It's used as the “system” profile in a bunch of places, so better not touch it. Besides, it doesn't hurt to keep it since it's owned by root any way, so it doesn't have the `chown` problem that the user profiles had and that led to wanting to move them on the client-side.
2023-01-17Don't try to migrate existing profilesThéophane Hufschmitt
Doing so would be more dangerous than useful, better leave them as-is if they already exist
2023-01-17Test the migration of the user profilesThéophane Hufschmitt
2023-01-17Migrate the old profiles to the new locationThéophane Hufschmitt
Make sure that we don’t just create the new profiles directory, but that we also migrate every existing profile to it.