I want to write a script which executes within a specific
guix shell
environment. I'm hoping there's an equivalent version of the nix-shell
shebang . For example, it would be cool to write something similar to the following:
#!guix shell
#!--manifest=manifest.scm bash
# ... commands ...
As a workaround, it may be sufficient to "source" the search paths of evaluating guix shell
, e.g.:
#!/usr/bin/env bash
eval "$(guix shell --manifest=manifest.scm --search-paths)"
# ... commands ...
Asked by kballou
(332 rep)
Jan 24, 2023, 10:07 PM
Last activity: May 18, 2023, 09:54 PM
Last activity: May 18, 2023, 09:54 PM