61 lines
2.6 KiB
Diff
61 lines
2.6 KiB
Diff
From ef6dbe76dc25e67b47dc9a8caa6dd29ff5996a20 Mon Sep 17 00:00:00 2001
|
|
From: Jens Petersen <petersen@redhat.com>
|
|
Date: Wed, 19 Nov 2025 15:50:43 +0800
|
|
Subject: [PATCH] docs: fixup some rellinks to use ./ prefix for consistency
|
|
|
|
"./" prefix is already used almost everywhere
|
|
---
|
|
doc/manual/source/command-ref/nix-build.md | 6 +++---
|
|
doc/manual/source/command-ref/nix-instantiate.md | 2 +-
|
|
src/nix/profile-diff-closures.md | 2 +-
|
|
3 files changed, 5 insertions(+), 5 deletions(-)
|
|
|
|
diff --git a/doc/manual/source/command-ref/nix-build.md b/doc/manual/source/command-ref/nix-build.md
|
|
index 3bb59cbed12..860a1fc9745 100644
|
|
--- a/doc/manual/source/command-ref/nix-build.md
|
|
+++ b/doc/manual/source/command-ref/nix-build.md
|
|
@@ -36,7 +36,7 @@ to a temporary location. The tarball must include a single top-level
|
|
directory containing at least a file named `default.nix`.
|
|
|
|
`nix-build` is essentially a wrapper around
|
|
-[`nix-instantiate`](nix-instantiate.md) (to translate a high-level Nix
|
|
+[`nix-instantiate`](./nix-instantiate.md) (to translate a high-level Nix
|
|
expression to a low-level [store derivation]) and [`nix-store
|
|
--realise`](@docroot@/command-ref/nix-store/realise.md) (to build the store
|
|
derivation).
|
|
@@ -52,8 +52,8 @@ derivation).
|
|
# Options
|
|
|
|
All options not listed here are passed to
|
|
-[`nix-store --realise`](nix-store/realise.md),
|
|
-except for `--arg` and `--attr` / `-A` which are passed to [`nix-instantiate`](nix-instantiate.md).
|
|
+[`nix-store --realise`](./nix-store/realise.md),
|
|
+except for `--arg` and `--attr` / `-A` which are passed to [`nix-instantiate`](./nix-instantiate.md).
|
|
|
|
- <span id="opt-no-out-link">[`--no-out-link`](#opt-no-out-link)<span>
|
|
|
|
diff --git a/doc/manual/source/command-ref/nix-instantiate.md b/doc/manual/source/command-ref/nix-instantiate.md
|
|
index 38454515d57..bac9f365933 100644
|
|
--- a/doc/manual/source/command-ref/nix-instantiate.md
|
|
+++ b/doc/manual/source/command-ref/nix-instantiate.md
|
|
@@ -32,7 +32,7 @@ standard input.
|
|
|
|
- `--add-root` *path*
|
|
|
|
- See the [corresponding option](nix-store.md) in `nix-store`.
|
|
+ See the [corresponding option](./nix-store.md) in `nix-store`.
|
|
|
|
- `--parse`
|
|
|
|
diff --git a/src/nix/profile-diff-closures.md b/src/nix/profile-diff-closures.md
|
|
index 295d1252bcd..1cfed160f31 100644
|
|
--- a/src/nix/profile-diff-closures.md
|
|
+++ b/src/nix/profile-diff-closures.md
|
|
@@ -23,6 +23,6 @@ R""(
|
|
|
|
This command shows the difference between the closures of subsequent
|
|
versions of a profile. See [`nix store
|
|
-diff-closures`](nix3-store-diff-closures.md) for details.
|
|
+diff-closures`](./nix3-store-diff-closures.md) for details.
|
|
|
|
)""
|