Hi, On Wed, 04 May 2022 at 18:53, Kenny Ballou <[email protected]> wrote:
> However, one necessary feature of `guix shell` I'm not seeing: ability > to set arbitrary environment variables when `guix shell` loads. Yes, it misses an equivalent to ’nix-shell’ «shellHook» [1], as also reported by [2] Well, maybe you could achieve something via ’--file’ instead of ’--manifest’, I do not know. Since you use Direnv [3], maybe you can set the environment variables there instead of in the manifest file. 1: <https://nixos.org/manual/nix/stable/command-ref/nix-shell.html> 2: <https://yhetil.org/guix/[email protected]> 3: <https://github.com/direnv/direnv/wiki/GNU-Guix> Cheers, simon
