NixOS - Running binaries in session file requires absolute paths? #8822
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
xfzv
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
On NixOS 25.05, I'm trying to use the following
session.conf:with:
% kitty --session /path/to/session.confBut this doesn't work. Kitty just opens a blank shell in
/path/to/session.conf.If I use
zshabsolute path, then it works as expected:I eventually found
exe_search_pathoption in the docs.Based on the option description, I guess I shouldn't have to add it to
kitty.confsince/etc/profiles/per-user/xfzv/binis in my$PATH:It's not the case for my root user so I tried it just to make sure, but it doesn't make any difference:
Am I really supposed to use full paths in
session.confi.e.launch /etc/profiles/per-user/xfzv/bin/zshinstead oflaunch zshin this case?On non-Nix OS distros,
launch zshworks just fine for me, I don't have to use e.g.launch /usr/bin/zsh.Beta Was this translation helpful? Give feedback.
All reactions