1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-24 22:11:15 +02:00

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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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.