Maxime Devos <[email protected]> writes: > I don't think this is currently supported, but I suppose it would be > possible to extend guix/profiles.scm and <manifest> 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?
I think it looks great! It seems the following definitions would need to get updated in guix/profiles.scm: - record: <manifest-entry> in guix/build/profiles.scm: - procedure: manifest-sexp->inputs+search-paths - procedure: build-profile > Greetings, > Maxime. Thanks for you time.
