aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-04-07Always disable GC in a coroutine unless the patch is appliedYorick van Pelt
2023-04-07DisableGC: replace by CoroutineContext, std::shared_ptr<void>Yorick van Pelt
2023-04-07Disable GC inside coroutines on mac OSYorick van Pelt
2023-04-07Merge pull request #7515 from MatthewCroughan/mc/check-trusted-userThéophane Hufschmitt
Add Store::isTrustedClient()
2023-04-06Add `Store::isTrustedClient()`matthewcroughan
This function returns true or false depending on whether the Nix client is trusted or not. Mostly relevant when speaking to a remote store with a daemon. We include this information in `nix ping store` and `nix doctor` Co-Authored-By: John Ericson <John.Ericson@Obsidian.Systems>
2023-04-06Document the concept of “experimental feature” (#5930)Théophane Hufschmitt
Add a page explaining what “experimental features” are, when and how they should be used Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io> Co-authored-by: Eelco Dolstra <edolstra@gmail.com> Co-authored-by: John Ericson <John.Ericson@Obsidian.Systems>
2023-04-05Merge pull request #7849 from milahu/fix-man-nix-shellValentin Gagarin
docs: fix nix-shell commands
2023-04-05docs: fix nix-shell commandsmilahu
2023-04-05Merge pull request #8167 from fricklerhandwerk/doc-nix-databaseValentin Gagarin
glossary: Nix database
2023-04-05add a definition of the nix database to the glossaryMike (stew) O'Connor
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-04-05add anchor to 'local store'Valentin Gagarin
2023-04-05Merge pull request #7579 from fricklerhandwerk/review-processThéophane Hufschmitt
review process: all PRs must be triaged
2023-04-05only triage non-trivial pull requestsValentin Gagarin
the team perceives triaging literally everything as too much overhead, and there is a desire to allow for more parallel action.
2023-04-04Merge pull request #7944 from yorickvP/fix-curReplThéophane Hufschmitt
NixRepl::mainLoop: restore old curRepl on function exit
2023-04-03Merge pull request #8157 from hercules-ci/switch-bugsThéophane Hufschmitt
Fix current and future `switch` bugs
2023-04-03Merge pull request #8042 from lheckemann/alt-lockfilesEelco Dolstra
Allow specifying alternative paths for reading/writing flake locks
2023-04-03nix-store.cc: Refactor, remove qDefaultRobert Hensing
2023-04-03Enable -Werror=switch-enumRobert Hensing
switch statements must now match all enum values or disable the warning. Explicit is good. This has helped us find two bugs, after solving another one by debugging. From now on, adding to an enum will raise errors where they are not explicitly handled, which is good for productivity, and helps us decide the correct behavior in all usages. Notably still excluded from this though are the cases where the warning is disabled by local pragmas. fromTOML.cc did not build despite a top-level pragma, so I've had to resort to a makefile solution for that.
2023-04-03Allow open switch-enum in 5 placesRobert Hensing
2023-04-03Merge pull request #7611 from obsidiansystems/structured-command-stabilizationJohn Ericson
Stuctured command stability
2023-04-03Add explicit case statements where -Wswitch-enum would report themRobert Hensing
2023-04-03Fix systemd logging for lvlNotice: eqv to lvlInfo, not lvlVomitRobert Hensing
2023-04-03Fix BuildResult.toString() for NoSubstitutersRobert Hensing
2023-04-03Stuctured command stabilityJohn Ericson
Prior to this, there was an ad-hoc whitelist in `main.cc`. Now, every command states its stability. In a future PR, we will adjust the manual to take advantage of this new information in the JSON. (It will be easier to do that once we have some experimental feature docs to link too; see #5930 and #7798.)
2023-04-03Merge pull request #8148 from ↵Robert Hensing
hercules-ci/fix-issue-8119-printValue-tBlackhole-abort eval: Fix crash on missing printValue tBlackhole case
2023-04-03Merge pull request #8152 from obsidiansystems/move-querySubstitutablePathInfosEelco Dolstra
Move `querySubstitutablePathInfos` from `LocalStore` to `Store`
2023-04-03eval: Fix crash on missing printValue tBlackhole caseRobert Hensing
Fixes #8119
2023-04-03Merge pull request #7610 from obsidiansystems/gate-default-settingsThéophane Hufschmitt
Punt on improper global flags for now
2023-04-03Merge pull request #8039 from obsidiansystems/prioritize-testingThéophane Hufschmitt
Prioritize testing in the maintainers process docs
2023-04-03Merge pull request #8151 from obsidiansystems/internal-api-docs-pr-templateEelco Dolstra
Mention internal API docs in PR template
2023-04-02Move `querySubstitutablePathInfos` from `LocalStore` to `Store`John Ericson
The code is not local-store-specific, so we should share it with all stores. More uniform behavior is better, and a less store-specific functionality is more maintainable. This fixes a FIXME added in f73d911628 by @edolstra himself.
2023-04-02Mention internal API docs in PR templateJohn Ericson
I think we want to ensure that all new items in headers are documented, and the documentation on modified items is kept up to date. It will take a while to document the backlog of undocumented things, but we can at least ensure that new items don't extend that backlog.
2023-04-01Merge pull request #8122 from ↵John Ericson
bjornfor/use-nix-store-l-unless-experimental-enabled Don't recommend 'nix log' unless experimental feature is enabled
2023-04-01Merge pull request #8133 from obsidiansystems/improve-internal-api-docsJohn Ericson
Extend internal API docs, part 2
2023-03-31Ensure all headers have `#pragma once` and are in API docsJohn Ericson
`///@file` makes them show up in the internal API dos. A tiny few were missing `#pragma once`.
2023-03-31Extend internal API docs, part 2John Ericson
Picking up from #8111. Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
2023-03-31Merge pull request #8142 from patricksjackson/atomic-syncJohn Ericson
Replace unnecessary Sync<uint64_t> with std::atomic<uint64_t>
2023-03-31Replace unnecessary Sync<uint64_t> with std::atomic<uint64_t>Patrick Jackson
2023-03-31Merge pull request #8137 from edolstra/lazy-trees-cherrypicksEelco Dolstra
Add CanonPath::makeRelative()
2023-03-31IndentationEelco Dolstra
2023-03-31Add CanonPath::makeRelative()Eelco Dolstra
2023-03-31Merge pull request #8139 from edolstra/no-nixpkgsFor-outputEelco Dolstra
Remove nixpkgsFor flake output
2023-03-31Merge pull request #8138 from tweag/fix-installer-vm-testsEelco Dolstra
Fix the installer VM tests
2023-03-31Remove nixpkgsFor flake outputEelco Dolstra
Fixes "warning: unknown flake output 'nixpkgsFor'".
2023-03-31test: Make the installer work on old rhel versionsThéophane Hufschmitt
`scp -r` doesn't seem to behave properly there, so tarpipe ftw!
2023-03-31test: Don't add a channel for the force-no-daemon installer variantThéophane Hufschmitt
Was probably an overlook of when the tests were first added, but that now messes-up with the `nix-channel --update` that happens down the line (and can't access the network since we're inside a Nix build)
2023-03-31Merge pull request #7406 from amesgen/gitlab-fetcherThéophane Hufschmitt
Document `gitlab` input scheme
2023-03-31Merge pull request #8018 from tweag/ssh-password-promptThéophane Hufschmitt
SSH: don't erase password prompt if it is displayed
2023-03-31Merge pull request #8135 from patricksjackson/copyPaths-dataraceThéophane Hufschmitt
Fix data race in copyPaths
2023-03-30Only lock oncePatrick Jackson