Use python3 packages in deps

To be consistent with the sample that uses the packages directly
in inline shebang.
This commit is contained in:
Vit Gottwald
2025-04-22 09:23:56 +02:00
committed by GitHub
parent 155411397d
commit aff7facdf6

View File

@@ -316,7 +316,7 @@ contains:
```nix
with import <nixpkgs> {};
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.