From aff7facdf61d9c5cec6000988fe925d447d1e079 Mon Sep 17 00:00:00 2001 From: Vit Gottwald Date: Tue, 22 Apr 2025 09:23:56 +0200 Subject: [PATCH] Use python3 packages in deps To be consistent with the sample that uses the packages directly in inline shebang. --- doc/manual/source/command-ref/nix-shell.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/manual/source/command-ref/nix-shell.md b/doc/manual/source/command-ref/nix-shell.md index e95db9bea..03585fa2d 100644 --- a/doc/manual/source/command-ref/nix-shell.md +++ b/doc/manual/source/command-ref/nix-shell.md @@ -316,7 +316,7 @@ contains: ```nix with import {}; -runCommand "dummy" { buildInputs = [ python pythonPackages.prettytable ]; } "" +runCommand "dummy" { buildInputs = [ python3 python3Packages.prettytable ]; } "" ``` The script's file name is passed as the first argument to the interpreter specified by the `-i` flag.