python311Packages.tabcmd: use correct interpreter version

This commit is contained in:
éclairevoyant
2024-07-09 20:54:25 -04:00
parent 19d8a7800f
commit 3c7638a736
@@ -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