Age | Commit message (Collapse) | Author |
|
This introduces the SourcePath type from lazy-trees as an abstraction
for accessing files from inputs that may not be materialized in the
real filesystem (e.g. Git repositories). Currently, however, it's just
a wrapper around CanonPath, so it shouldn't change any behaviour. (On
lazy-trees, SourcePath is a <InputAccessor, CanonPath> tuple.)
|
|
Mention internal API docs in PR template
|
|
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.
|
|
bjornfor/use-nix-store-l-unless-experimental-enabled
Don't recommend 'nix log' unless experimental feature is enabled
|
|
Extend internal API docs, part 2
|
|
`///@file` makes them show up in the internal API dos. A tiny few were
missing `#pragma once`.
|
|
Picking up from #8111.
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
|
|
Replace unnecessary Sync<uint64_t> with std::atomic<uint64_t>
|
|
|
|
Add CanonPath::makeRelative()
|
|
|
|
|
|
Remove nixpkgsFor flake output
|
|
Fix the installer VM tests
|
|
Fixes "warning: unknown flake output 'nixpkgsFor'".
|
|
`scp -r` doesn't seem to behave properly there, so tarpipe ftw!
|
|
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)
|
|
Document `gitlab` input scheme
|
|
SSH: don't erase password prompt if it is displayed
|
|
Fix data race in copyPaths
|
|
|
|
|
|
Convert a bunch of comments in headers to Doxygen documentation
|
|
separate man pages for `nix-store` and `nix-env` subcommands
|
|
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!
|
|
Docs: Explain why `import nixpkgs` works in flakes
|
|
|
|
Allow `@` in git refs
|
|
|
|
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>
|
|
|
|
The internal API docs now contain more useful information.
Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>
|
|
|
|
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
|
|
Avoid a string copy during Hash::to_string
|
|
|
|
|
|
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
|
|
|
|
Co-authored-by: asymmetric <lorenzo@mailbox.org>
|
|
|
|
Fix more profile dirs in docs
|
|
Picking up where #8078 left off.
|
|
Stratify `ExtraPathInfo` along `Installable` hierarchy
|
|
Auto-generate store documentation
|
|
Fix root channels location
|
|
Add a setting for configuring the SSL certificates file
|
|
Hide experimental settings
|
|
|
|
nix-store: Use `long` for `narSize` in graphml output
|