Re: [GCD deliberation] Set search paths without program wrappers

2025-03-31 Thread Rutherther
Hi, I am missing any mention about the current etc/profile file inside of built Guix profiles. Is it planned to also change the function of the search paths in profiles? Because for example currently it can happen that GIO_EXTRA_MODULES will get set, because dconf is propagated into the profile

Re: [GCD deliberation] Set search paths without program wrappers

2025-03-25 Thread 宋文武
Janneke Nieuwenhuizen writes: > [...] >> And when the executable's `/proc/self/exe` matches `GUIX_INTERPRETER_FILE`, >> we can get the script file name from `GUIX_MAIN_SCRIPT_FILE`. Alternatively, >> we can try to construct the script file name from command line arguments, but >> that won't work

Re: [GCD deliberation] Set search paths without program wrappers

2025-03-23 Thread Janneke Nieuwenhuizen
Hello, > # Detailed Design [..] > ## Find the location of the current executable > > To find its search path configuration files when an executable is running, > we can first find the location of the executable. Conveniently, Linux > provides a pseudo-file `/proc/self/exe` for this exact purp