aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-01-27getDefaultNixPath: actually respect `{restrict,pure}-eval`Naïm Favier
Previously, getDefaultNixPath was called too early: at initialisation time, before CLI and config have been processed, when `restrictEval` and `pureEval` both have their default value `false`. Call it when initialising the EvalState instead, and use `setDefault`.
2023-01-27Add a test for `nix flake show`Théophane Hufschmitt
2023-01-27Merge remote-tracking branch 'nixos/master' into pr-flake-show-foreignThéophane Hufschmitt
2023-01-26Merge pull request #7461 from rapenne-s/improve_messaging_untrusted_sub_userThéophane Hufschmitt
Improve warning when an untrusted user is using an untrusted substituter
2023-01-26improve documentation about substituters and trusted usersSolène Rapenne
Co-authored-by: Théophane Hufschmitt <theophane.hufschmitt@tweag.io>
2023-01-26Update src/libstore/daemon.ccSolène Rapenne
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-01-26warnings: enhance the case of untrusted substituter for untrusted userSolène Rapenne
2023-01-25Merge pull request #7685 from obsidiansystems/fix-change-logEelco Dolstra
Fix the 2.13 changelog
2023-01-25Merge pull request #7686 from obsidiansystems/fix-coverageEelco Dolstra
Fix the coverage job
2023-01-25Update doc/manual/src/release-notes/rl-2.13.mdJohn Ericson
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
2023-01-24Fix the coverage jobJohn Ericson
See https://hydra.nixos.org/build/206790960
2023-01-24Fix the 2.13 changelogJohn Ericson
It is just the new CLI that gets the `^` syntax. The old CLI already has a (slightly different) `!` syntax. Fixes #7682
2023-01-24Merge pull request #7681 from layus/virtual-destructor-warningThéophane Hufschmitt
Fix 'destructor called on non-final ...' warning
2023-01-24Fix 'destructor called on non-final ...' warningGuillaume Maudoux
clangStdenv compiles with a single warning: ``` warning: destructor called on non-final 'nix::PosAdapter' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] ``` This fixes the warning by making the destructor of PosAdapter virtual, deffering to the correct destructor from the concrete child classes. This has no impact in the end, as none of these classes have specific destructors. Technicaly, it may be faster not to have this indirection, but as per the warning, there is only one place where we have to delete abstract PosAdapter values. Not worth bikesheding I guess.
2023-01-24Merge pull request #7679 from hercules-ci/re-add-boehmgc-patchRobert Hensing
Revert "fixup: remove boehmgc patch"
2023-01-24Update boehmgc-coroutine-sp-fallback.diffRobert Hensing
2023-01-24Actually complete the revertRobert Hensing
2023-01-24Revert "fixup: remove boehmgc patch"Robert Hensing
It is still necessary. Please do your research, or f ask the author, which happens to be me. An evaluator like this is not an environment where "it compiles, so it works" will ever hold. This reverts commit 1c40182b12d5fd462c891b597e1a3f9b912502d5.
2023-01-24Merge pull request #7673 from iFreilicht/fix-glossaryEelco Dolstra
doc: fix anchor links in and to glossary
2023-01-24Merge pull request #7670 from obsidiansystems/try-fix-7669Robert Hensing
Try to fix #7669
2023-01-24Merge pull request #7671 from ↵Eelco Dolstra
NixOS/dependabot/github_actions/zeebe-io/backport-action-1.1.0 Bump zeebe-io/backport-action from 1.0.1 to 1.1.0
2023-01-24Merge pull request #7675 from obsidiansystems/tighten-export-refs-testRobert Hensing
Tighten up the `exportReferencesGraph` tests
2023-01-23Tighten up the `exportReferencesGraph` testsAndrea Ciceri
Add an `$` at the end of the `grep` regex. Without it, `checkRef foo` would always imply `checkRef foo.drv`. We want to tell these situations apart to more precisely test what is going on.
2023-01-24doc: fix anchor links in and to glossaryFelix Uhl
2023-01-23Bump zeebe-io/backport-action from 1.0.1 to 1.1.0dependabot[bot]
Bumps [zeebe-io/backport-action](https://github.com/zeebe-io/backport-action) from 1.0.1 to 1.1.0. - [Release notes](https://github.com/zeebe-io/backport-action/releases) - [Commits](https://github.com/zeebe-io/backport-action/compare/v1.0.1...v1.1.0) --- updated-dependencies: - dependency-name: zeebe-io/backport-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23Try to fix #7669John Ericson
The issue *seems* to be the cross jobs, which are missing the `CXXFLAGS` needed to get rapidcheck. PR #6538 would be really nice to resurrect which will prevent the `configureFlags` from going out of sync between the regular build and the cross build again.
2023-01-23Merge pull request #7595 from cole-h/show-setting-valueEelco Dolstra
nix/show-config: allow getting the value of a specific setting
2023-01-23Merge pull request #7447 from aakropotkin/read-file-typeRobert Hensing
Read file type
2023-01-23Merge pull request #7657 from obsidiansystems/fix-7655Robert Hensing
Fix #7655
2023-01-23Merge pull request #7639 from obsidiansystems/output-namesRobert Hensing
Test store paths, with property tests, fix bug
2023-01-23Test store paths, with property testsJohn Ericson
The property test in fact found a bug: we were excluding numbers!
2023-01-23Better-scope `Store` forward declarationsJohn Ericson
2023-01-23Add `rapidcheck` dependency for testingJohn Ericson
Property tests are great! Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
2023-01-23rl-next.md: Minor improvementRobert Hensing
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`.