aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-05-17 12:21:20 -0400
committerGitHub <noreply@github.com>2023-05-17 12:21:20 -0400
commit684e9be8b9356f92b7882d74cba9d146fb71f850 (patch)
tree111863f8469207a5d55b66724f849e409a448238
parent32dc77ba5d5defbe3a31859b7484558971007c45 (diff)
parent275468a1f0f9c0037d79b7adee68a2ae16c0af4a (diff)
Merge pull request #8337 from fricklerhandwerk/channel-files
list files used by `nix-channel` on its own man page
-rw-r--r--doc/manual/src/command-ref/nix-channel.md6
-rw-r--r--doc/manual/src/command-ref/nix-env.md2
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/manual/src/command-ref/nix-channel.md b/doc/manual/src/command-ref/nix-channel.md
index cd86b364d..a210583ae 100644
--- a/doc/manual/src/command-ref/nix-channel.md
+++ b/doc/manual/src/command-ref/nix-channel.md
@@ -52,6 +52,12 @@ The list of subscribed channels is stored in `~/.nix-channels`.
{{#include ./env-common.md}}
+# Files
+
+`nix-channel` operates on the following files.
+
+{{#include ./files/channels.md}}
+
# Examples
To subscribe to the Nixpkgs channel and install the GNU Hello package:
diff --git a/doc/manual/src/command-ref/nix-env.md b/doc/manual/src/command-ref/nix-env.md
index 486238ac8..941723216 100644
--- a/doc/manual/src/command-ref/nix-env.md
+++ b/doc/manual/src/command-ref/nix-env.md
@@ -83,6 +83,8 @@ match. Here are some examples:
# Files
+`nix-env` operates on the following files.
+
{{#include ./files/default-nix-expression.md}}
{{#include ./files/profiles.md}}