Closed okaestne closed 3 years ago
This does not solve the issue for eco systems like nix which do not have /usr/bin/python3
. I am for a revert of this and a proper fix.
Using /usr/bin/env
would be against the Debian Python Policy.
Also most other Mint tools use /usr/bin/python3
, do they cause issues as well?
@SuperSandro2000 How did nix fix this?
https://github.com/linuxmint/cinnamon/commit/ffbd4a767e225367f8b34a568172c95d7d908ff6
Is patchShebangs a nix script to fix shebangs?
https://github.com/NixOS/nixpkgs/blob/master/pkgs/desktops/cinnamon/cinnamon-common/default.nix#L132
Using
/usr/bin/env
would be against the Debian Python Policy.
We a conflict of interest here.
Also most other Mint tools use /usr/bin/python3, do they cause issues as well?
Without patchShebangs, yes.
Is patchShebangs a nix script to fix shebangs?
Yes. We can always fix it but it is some extra step which could be avoided.
This avoids problems like issue #96