From 7f707274cf4908379f92f49a5f6ee21f4cbd4013 Mon Sep 17 00:00:00 2001 From: Bart Louwers Date: Fri, 3 Apr 2026 12:03:37 +0200 Subject: [PATCH] doc: fix `nix repl` command in NixOS manual --- doc/languages-frameworks/index.md | 2 +- nixos/doc/manual/configuration/modularity.section.md | 2 +- nixos/modules/services/databases/postgresql.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/languages-frameworks/index.md b/doc/languages-frameworks/index.md index bf2e46db0de7..6e2438ebcb6a 100644 --- a/doc/languages-frameworks/index.md +++ b/doc/languages-frameworks/index.md @@ -17,7 +17,7 @@ Each supported language or software ecosystem has its own package set named `' -I nixpkgs=channel:nixpkgs-unstable + $ nix repl -f '' -I nixpkgs=channel:nixpkgs-unstable nix-repl> javaPackages. javaPackages.compiler javaPackages.openjfx15 javaPackages.openjfx21 javaPackages.recurseForDerivations javaPackages.jogl_2_4_0 javaPackages.openjfx17 javaPackages.openjfx25 diff --git a/nixos/doc/manual/configuration/modularity.section.md b/nixos/doc/manual/configuration/modularity.section.md index ee495bb4bc60..db062d9a58e4 100644 --- a/nixos/doc/manual/configuration/modularity.section.md +++ b/nixos/doc/manual/configuration/modularity.section.md @@ -113,7 +113,7 @@ Interactive exploration of the configuration is possible using `nix repl`, a read-eval-print loop for Nix expressions. A typical use: ```ShellSession -$ nix repl '' +$ nix repl -f '' nix-repl> config.networking.hostName "mandark" diff --git a/nixos/modules/services/databases/postgresql.md b/nixos/modules/services/databases/postgresql.md index 5db44d8953ad..7d64e32e8337 100644 --- a/nixos/modules/services/databases/postgresql.md +++ b/nixos/modules/services/databases/postgresql.md @@ -285,7 +285,7 @@ A complete list of options for the PostgreSQL module may be found [here](#opt-se The collection of plugins for each PostgreSQL version can be accessed with `.pkgs`. For example, for the `pkgs.postgresql_15` package, its plugin collection is accessed by `pkgs.postgresql_15.pkgs`: ```ShellSession -$ nix repl '' +$ nix repl -f '' Loading ''... Added 10574 variables.