Hardcoded nix store path in munix/systemd/muvm-remote.service #26

Closed
opened 2026-05-24 14:26:21 +00:00 by shazow · 2 comments

Just reading through the code, stumbled on this line which was probably accidentally left over from a debugging session in munix/systemd/muvm-remote.service:

ExecStopPost=+/nix/store/ygzfhw5nxrn7qqfqmz2s9p6cikcjqqkh-python3-3.13.11/bin/python -c "import os,fcntl,struct;print(os.getenv('EXIT_STATUS', '1'));fcntl.ioctl(os.open('/', os.O_RDONLY), 0x7602, int(os.getenv('EXIT_STATUS', '1')))"

Probably should be +${pkgs.python3}/bin/python ...

Just reading through the code, stumbled on this line which was probably accidentally left over from a debugging session in `munix/systemd/muvm-remote.service`: ```nix ExecStopPost=+/nix/store/ygzfhw5nxrn7qqfqmz2s9p6cikcjqqkh-python3-3.13.11/bin/python -c "import os,fcntl,struct;print(os.getenv('EXIT_STATUS', '1'));fcntl.ioctl(os.open('/', os.O_RDONLY), 0x7602, int(os.getenv('EXIT_STATUS', '1')))" ``` Probably should be `+${pkgs.python3}/bin/python ...`
Member

yeah I'm aware, I haven't actually made that file templated by nix so it's used as-is.. in development it can't even be templated by nix, I should change it to just current-system tbh

yeah I'm aware, I haven't actually made that file templated by nix so it's used as-is.. in development it can't even be templated by nix, I should change it to just current-system tbh
Author

Np! Feel free to close if this is known and not useful to track. :)

Np! Feel free to close if this is known and not useful to track. :)
Sign in to join this conversation.