aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-03-29avoid a string copy in printHash16Vaci Koblizek
2023-03-29return string_view from printHashType rather than stringVaci Koblizek
2023-03-28Don't recommend 'nix log' unless experimental feature is enabledBjørn Forsman
This fixes the issue that `nix-build`, without experimental feature 'nix-command' enabled, recommends the experimental CLI `nix log` to view build logs. Now it'll recommend the stable `nix-store -l` CLI instead. Fixes https://github.com/NixOS/nix/issues/8118
2023-03-28Avoid a string copy during Hash::to_stringVaci Koblizek
2023-03-28Update src/libexpr/primops.ccJoachim Breitner
Co-authored-by: asymmetric <lorenzo@mailbox.org>
2023-03-28Docs: Explain why `import nixpkgs` works in flakesJoachim Breitner
2023-03-27Merge pull request #8114 from obsidiansystems/docs-profiles-dirsJohn Ericson
Fix more profile dirs in docs
2023-03-27Fix more profile dirs in docsJohn Ericson
Picking up where #8078 left off.
2023-03-27Merge pull request #7763 from obsidiansystems/installable-wide-infoEelco Dolstra
Stratify `ExtraPathInfo` along `Installable` hierarchy
2023-03-27Merge pull request #8084 from edolstra/store-docsEelco Dolstra
Auto-generate store documentation
2023-03-27Merge pull request #8073 from tweag/fix-root-channels-locationJohn Ericson
Fix root channels location
2023-03-27Merge pull request #8062 from edolstra/ssl-cert-fileEelco Dolstra
Add a setting for configuring the SSL certificates file
2023-03-27Punt on improper global flags for nowJohn Ericson
See the note in the test. We don't want these flags showing up for commands where they are irrelevant. Eventually, this needs a proper fix, but it need not be a blocker for stabilize: for a quick-n-dirty punt, just put these flags behind the `nix-command` unstable feature. This is fine because they are only relevant for commands which we don't need to stabilize for a while.
2023-03-27Merge pull request #7609 from obsidiansystems/hide-experimental-settingsJohn Ericson
Hide experimental settings
2023-03-27ssl-cert-file: Use listsEelco Dolstra
2023-03-27Merge pull request #8104 from avdv/graphml-use-long-for-narsizeEelco Dolstra
nix-store: Use `long` for `narSize` in graphml output
2023-03-27Make some comments in profiles.hh doxygen-enabledThéophane Hufschmitt
These are proper documentation of the API, so they deserve to be here
2023-03-27Merge pull request #8109 from oxalica/fix/show-legacy-packagesRobert Hensing
Catch eval errors in `hasContent`
2023-03-27tests/flakes/show.sh: Broaden requirement commentRobert Hensing
2023-03-26Catch eval errors in `hasContent`oxalica
`legacyPackages` of nixpkgs trigger eval errors in `hasContent`, causing the whole `legacyPackages` being skipped. We should treat it as has-content in that case.
2023-03-24nix-store: Use `long` for `narSize` in graphml outputClaudio Bley
2023-03-24Stratify `ExtraPathInfo` along `Installable` hierarchyJohn Ericson
Instead of having a bunch of optional fields, have a few subclasses which can have mandatory fields. Additionally, the new `getExtraPathInfo`, and `nixpkgsFlakeRef`, are moved to `InstallableValue`. I did these things because https://github.com/NixOS/rfcs/pull/134 ; with these things moved to `InstallableValue`, the base `Installable` no longer depends on libexpr! This is a major step towards that. Also, add a bunch of doc comments for sake of the internal API docs.
2023-03-24Merge pull request #7757 from obsidiansystems/more-installable-valueEelco Dolstra
Move value-only methods to `InstallableValue`
2023-03-24Merge pull request #8098 from ↵Théophane Hufschmitt
hercules-ci/error-cc-Only-suggest-show-trace-when-truncated-trace-items-would-be-pri error.cc: Only suggest `--show-trace` when relevant
2023-03-24Merge pull request #8096 from tweag/filter-testsThéophane Hufschmitt
Filter tests/nixos from source
2023-03-24Filter tests/nixos from sourceAlexander Bantyev
2023-03-23Test the installation of a simple package in the install testsThéophane Hufschmitt
2023-03-23error.cc: Only suggest show-trace when truncated trace items would be printedRobert Hensing
Otherwise, a trace consisting of frame frame frame non-frame ... would reach the non-frame and print the suggestion, even though it would have ignored the non-frame anyway. This resulted in a peculariar situation where --show-trace would have no apparent effect, as the trace was actually already complete.
2023-03-23TweaksEelco Dolstra
2023-03-23Update release notesEelco Dolstra
2023-03-23Register LocalStore to ensure it's included in the manualEelco Dolstra
2023-03-23Document store URLsEelco Dolstra
2023-03-23ci: Update the install-nix-actionThéophane Hufschmitt
2023-03-23Factor out the generation of the profile/channel directoryThéophane Hufschmitt
Make sure that all the code paths use the same one, and that the backwards-compatibility measures are probably in place when needed
2023-03-23nix-channel: Restore the old root channels directoryThéophane Hufschmitt
2023-03-23ci: Try to install something with Nix in the installer testThéophane Hufschmitt
2023-03-23Update doc/manual/src/release-notes/rl-next.mdEelco Dolstra
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-03-23Update src/libstore/local-store.mdEelco Dolstra
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-03-23showSetting: Drop ...Eelco Dolstra
2023-03-23Make useAnchors a named argumentEelco Dolstra
2023-03-23Fix SSHStoreEelco Dolstra
2023-03-23Merge pull request #8095 from fricklerhandwerk/operators-formattingEelco Dolstra
doc: force line breaks where needed
2023-03-23Fix clang buildEelco Dolstra
2023-03-22Merge pull request #8078 from obsidiansystems/profile-mdJohn Ericson
Fix `nix profile --help`
2023-03-23Merge pull request #6865 from zuzuleinen/manual-nix-path-emptyValentin Gagarin
document what happens when NIX_PATH is empty
2023-03-22add linksValentin Gagarin
2023-03-22doc: force line breaks where neededValentin Gagarin
2023-03-22docker.nix: add an option to include flake-registry inside docker image (#6750)Alex Wied
Co-authored-by: Alex Wied <centromere@users.noreply.github.com> Co-authored-by: Rok Garbas <rok@floxdev.com>
2023-03-22Improve store setting descriptions / Markdown formattingEelco Dolstra
2023-03-22nix help-stores: Don't include anchorsEelco Dolstra
Since setting names are not unique we don't have an easy way to produce unique anchors.