summary refs log tree commit diff
path: root/pkgs/development/compilers/adoptopenjdk-bin/generate-sources.py
diff options
context:
space:
mode:
authorRobert Schütz <rschuetz17@gmail.com>2018-12-18 20:24:58 +0100
committerBenno Fünfstück <benno.fuenfstueck@gmail.com>2018-12-19 14:08:12 +0100
commit682d1befd9cd1b044b945e47a1d92d2761dac443 (patch)
tree3832edf42b33b831705f15b36cbd23ab324bbbb9 /pkgs/development/compilers/adoptopenjdk-bin/generate-sources.py
parent5bbfc0cc37f5f9b607678102883c6f1156abc305 (diff)
downloadnixpkgs-682d1befd9cd1b044b945e47a1d92d2761dac443.tar
nixpkgs-682d1befd9cd1b044b945e47a1d92d2761dac443.tar.gz
nixpkgs-682d1befd9cd1b044b945e47a1d92d2761dac443.tar.bz2
nixpkgs-682d1befd9cd1b044b945e47a1d92d2761dac443.tar.lz
nixpkgs-682d1befd9cd1b044b945e47a1d92d2761dac443.tar.xz
nixpkgs-682d1befd9cd1b044b945e47a1d92d2761dac443.tar.zst
nixpkgs-682d1befd9cd1b044b945e47a1d92d2761dac443.zip
adoptopenjdk-bin: use python-withPackages for shebang
Co-Authored-By: bennofs <benno.fuenfstueck@gmail.com>
Diffstat (limited to 'pkgs/development/compilers/adoptopenjdk-bin/generate-sources.py')
-rwxr-xr-xpkgs/development/compilers/adoptopenjdk-bin/generate-sources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/adoptopenjdk-bin/generate-sources.py b/pkgs/development/compilers/adoptopenjdk-bin/generate-sources.py
index a410501de0a..66e1abd05e9 100755
--- a/pkgs/development/compilers/adoptopenjdk-bin/generate-sources.py
+++ b/pkgs/development/compilers/adoptopenjdk-bin/generate-sources.py
@@ -1,5 +1,5 @@
 #!/usr/bin/env nix-shell
-#!nix-shell --pure -i python3 -p python3 -p python3Packages.requests
+#!nix-shell --pure -i python3 -p "python3.withPackages (ps: with ps; [ requests ])"
 
 import json
 import re