python311Packages.tabcmd: use correct interpreter version
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
pyinstaller-versionfile,
|
||||
pytest-order,
|
||||
pytestCheckHook,
|
||||
python3,
|
||||
python,
|
||||
pythonOlder,
|
||||
requests,
|
||||
setuptools,
|
||||
@@ -79,7 +79,7 @@ buildPythonPackage rec {
|
||||
cp -r build/lib/tabcmd/__main__.py $out/bin/
|
||||
|
||||
# Create a 'tabcmd' script with python3 shebang
|
||||
echo "#!${python3}/bin/python3" > $out/bin/tabcmd
|
||||
echo "#!${python.interpreter}" > $out/bin/tabcmd
|
||||
|
||||
# Append __main__.py contents
|
||||
cat $out/bin/__main__.py >> $out/bin/tabcmd
|
||||
|
||||
Reference in New Issue
Block a user