aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2023-03-30Fix data race in copyPathsPatrick Jackson
2023-03-30Merge pull request #8111 from obsidiansystems/improve-internal-api-docsJohn Ericson
Convert a bunch of comments in headers to Doxygen documentation
2023-03-30Merge pull request #7518 from fricklerhandwerk/doc-commandsValentin Gagarin
separate man pages for `nix-store` and `nix-env` subcommands
2023-03-30process includes firstValentin Gagarin
otherwise the order of found `.md` files will influence if `@docroot@` is replaced before them being included, which may mess up relative links. the weirdest thing about it is that the mess-up happens deterministically on macOS, but deterministically doesn't happen on Linux!
2023-03-30Merge pull request #8123 from nomeata/import-flake-docsEelco Dolstra
Docs: Explain why `import nixpkgs` works in flakes
2023-03-30TypoEelco Dolstra
2023-03-30Merge pull request #8129 from figsoda/atEelco Dolstra
Allow `@` in git refs
2023-03-30More precise wordingJoachim Breitner
2023-03-30Split nix-env and nix-store documentation per-subcommandAlexander Bantyev
Documentation on "classic" commands with many sub-commands are notoriously hard to discover due to lack of overview and anchor links. Additionally the information on common options and environment variables is not accessible offline in man pages, and therefore often overlooked by readers. With this change, each sub-command of nix-store and nix-env gets its own page in the manual (listed in the table of contents), and each own man page. Also, man pages for each subcommand now (again) list common options and environment variables. While this makes each page quite long and some common parameters don't apply, this should still make it easier to navigate as that additional information was not accessible on the command line at all. It is now possible to run 'nix-store --<subcommand> --help` to display help pages for the given subcommand. Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-03-30Manual: fail when #include-d file does not existAlexander Bantyev
2023-03-29Convert a bunch of comments in headers to Doxygen documentationJohn Ericson
The internal API docs now contain more useful information. Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>
2023-03-29Allow `@` in git refsfigsoda
2023-03-29Update src/libexpr/primops.ccJoachim Breitner
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
2023-03-29Merge pull request #8125 from vaci/vaci/hash_to_string_copyEelco Dolstra
Avoid a string copy during Hash::to_string
2023-03-29avoid a string copy in printHash16Vaci Koblizek
2023-03-29return string_view from printHashType rather than stringVaci Koblizek
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-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.