lix/doc/manual/src/command-ref
Théophane Hufschmitt 8458d98b27 Rename nix show-config to nix config show
Part of #7672

My main motivation is to be able to use `nix.checkConfig`[1]. This
doesn't work with Lix currently since the module uses `nix show-config`
if the Nix version is <2.20pre and `nix config show` otherwise. I think
this is the only instance where nixpkgs checks for which Nix commands
exist that affects us now, so I figured we could just perform the rename
here as well[2] and still provide the current version number[3].

I don't have a strong opinion on whether to deprecate `nix show-config`,
the warning is added there automatically.

(cherry picked from commit f300e11b056dea414d7d77bbc6e5a7dc5d9ddd41)

[1] https://nixos.org/manual/nixos/stable/options.html#opt-nix.checkConfig
[2] I should add that I don't use the "official" ways of installing Lix
    because using the flake directly and callPackaging it seemed to fit
    better into my workflow: I already have a little mess to make
    sure Hydra from the flake uses the correct pkgs.nix and I didn't
    want to complicate it further while keeping a single package-set I
    can build in CI. Don't get me wrong, I think such a module for a
    quick-start is very important, just giving context on why I bother
    in the first place :)
[3] When we go public, I think it's worth considering to add support in
    nixpkgs itself for Lix.

Change-Id: I47b4239b05cbeda3c370d2fa56ea768b768768ac
2024-05-03 16:26:16 +02:00
..
files revert channel files overview 2023-07-19 09:42:53 +02:00
new-cli Rename nix show-config to nix config show 2024-05-03 16:26:16 +02:00
nix-env Add pre-commit checks 2024-03-29 22:57:40 -07:00
nix-store Add pre-commit checks 2024-03-29 22:57:40 -07:00
command-ref.md Convert commands 2020-07-23 18:27:12 +02:00
conf-file.md docs: redo content generation for mdbook and manual 2024-04-11 13:32:06 +00:00
env-common.md docs: remove many link-to-self 2024-04-09 02:09:36 +00:00
experimental-commands.md Start cross-referencing experimental features 2023-04-14 07:45:08 -04:00
files.md Convert nix.conf manpage 2020-07-23 18:27:11 +02:00
main-commands.md Convert commands 2020-07-23 18:27:12 +02:00
meson.build manual: build docs with dummy envs 2024-04-11 13:36:04 +00:00
nix-build.md Better document build failure exit codes 2023-06-22 14:29:45 -04:00
nix-channel.md list moving parts of channels 2023-07-19 10:26:25 +02:00
nix-collect-garbage.md Clarify docs on deleting generations, including fixing a mistake 2023-06-21 20:05:41 -04:00
nix-copy-closure.md Convert short nix options to long ones 2023-05-17 08:10:30 +01:00
nix-daemon.md manual: build action -> build task 2022-11-06 13:28:18 +01:00
nix-env.md docs(nix-env): summarize of each subcommand in --help 2024-04-26 21:56:08 -06:00
nix-hash.md Split nix-env and nix-store documentation per-subcommand 2023-03-30 09:46:28 +02:00
nix-instantiate.md Merge pull request #9755 from 9999years/printer-followup 2024-03-09 04:04:46 +01:00
nix-prefetch-url.md Document nix-prefetch-url defaults (#8878) 2023-08-28 22:14:01 +02:00
nix-shell.md Merge pull request #8470 from ncfavier/shebang-single-quotes 2024-03-04 05:06:32 +01:00
nix-store.md Split nix-env and nix-store documentation per-subcommand 2023-03-30 09:46:28 +02:00
opt-common-syn.md Convert commands 2020-07-23 18:27:12 +02:00
opt-common.md Add pre-commit checks 2024-03-29 22:57:40 -07:00
opt-inst-syn.md Convert commands 2020-07-23 18:27:12 +02:00
status-build-failure.md Better document build failure exit codes 2023-06-22 14:29:45 -04:00
utilities.md Use mdbook 2020-07-23 18:26:48 +02:00