Hi,

On Wed, 2024-03-06 at 15:47 +0100, Tomas Volf wrote:
> Is there a way to detect from .guile whether guix repl or guile repl is 
> starting<br>
> so that I can branch on that?<br>

The kludge I currently use for this is this:

```scheme
(when (equal? (module-name (current-module)) '(guix-user))
  ; `guix repl`-only init code
  )
```

Reply via email to