Théo Maxime Tyburn schreef op do 19-05-2022 om 21:43 [+0200]: >            (files '("/home/teddd/..." >     "/home/teddd/..." >     "/home/teddd/..."))) This will do PYTHONPATH=$GUIX_ENVIRONMENT/home/tedd/...:$GUIX_ENVIRONMENT/home/tedd/... where $GUIX_ENVIRONMENT is something like '/gnu/store/sgx9l505s7gw1axqnyqvz7iabgsni243-profile', which I don't think is what you want here. Additionally, most likely /home/tedd does not exist in the profile, so they will be ignored and PYTHONPATH won't be set. > Another problem I would have with this method is that the last environment > variable I want to set (BLENDER_OPTIONS) is not even a path. I am not > sure it is possible to sepcify a file-type to be "just a string". > Anyway I think this seems to be the wrong approach. > > How would you approach this? I don't think this is currently supported, but I suppose it would be possible to extend guix/profiles.scm and to support this. Maybe an API like: contents of manifest.scm: (manifest (packages->manifest (list python3 blender ...)) (environment-variables ; <-- new field (list (extend-search-path ; <--- new procedure (search-path [...] "PYTHONPATH" [...]) "/home/tedd/...") (with-environment-variable "BLENDER_USER_CONFIG" "...") ; <-- new procedure [...]))) WDYT of this API? Greetings, Maxime.