|
|
|
|
|
by kqbx
1365 days ago
|
|
> PYTHONPATH, CPATH, etc are all set up and ready to go. Does that mean that Guix just exports the required environment variables in the shell rather than wrapping each executable with a bash script [1] like nix does? If yes, that's great, because the wrapper approach feels like an ugly hack. I found some executables on my nixos installation that are behind three layers of wrappers, and that's probably not the maximum. I guess nix could improve this situation by making `wrapProgram` smarter (if the executable to be wrapped is already a wrapper, merge the inner and outer wrapper), but even single-layer wrappers are annoying, and I imagine they have some performance impact. EDIT: I forgot about nix-shell, which does actually export the right environment variables directly to the shell. [1] https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-supp... |
|