From: Catonano <catonano@gmail.com>
To: david.larsson@selfhosted.xyz
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Failing to use guile-bash
Date: Wed, 28 Nov 2018 14:41:09 +0100 [thread overview]
Message-ID: <CAJ98PDy5qR-Asiogm90wxvGuV-KGaByMOV-E0MTRwKA4OHmwyQ@mail.gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.21.9999.1811211901590.933@localhost>
[-- Attachment #1: Type: text/plain, Size: 1369 bytes --]
Il giorno mer 21 nov 2018 alle ore 19:22 David Larsson <
david.larsson@selfhosted.xyz> ha scritto:
> Hi,
> I installed the guile-bash package and tried to use it as below but
> can't get it to work. Anyone who is successfully using it?
>
> So far, I have done:
> guix package -i guile-bash
> enable -f ~/.guix-profile/lib/bash/libguile-bash.so scm
>
> then created the file example.scm with the following content.
> (use-modules (gnu bash))
> (define-bash-function (dtach-start-emacs)
> (unless (file-exists? "/tmp/emacs.dtach")
> #$ [dtach -n /tmp/emacs.dtach emacs]))
>
> and then ran: scm example.scm
>
> which gave the following error message:
> ;;; compiling /home/user1/src/code_guile/example.scm
> ;;; WARNING: compilation of /home/user1/src/code_guile/example.scm failed:
> ;;; ERROR: In procedure scm_lreadr: example.scm:18:8: Unknown # object:
> #\$
> ERROR: In procedure scm_lreadr:
> /home/user1/src/code_guile/example.scm:18:8: Unknown # object: #\
>
> Not sure what's missing. All suggestions appreciated.
>
> --
> Regards
> David Larsson
>
>
It seems the reader gets confused by
#$
I don't now how guile-bash is supposed to be used
I didn't know guile-bash existed and I can't find it anywhere on line
All that said, you could try asing on the guile users mailing list
Maybe there's someone, there, who's not following guix related things
[-- Attachment #2: Type: text/html, Size: 1909 bytes --]
next prev parent reply other threads:[~2018-11-28 13:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-21 18:02 Failing to use guile-bash David Larsson
2018-11-28 13:41 ` Catonano [this message]
2018-11-30 11:54 ` scheme shells (was Re: Failing to use guile-bash) Giovanni Biscuolo
2018-12-02 14:26 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJ98PDy5qR-Asiogm90wxvGuV-KGaByMOV-E0MTRwKA4OHmwyQ@mail.gmail.com \
--to=catonano@gmail.com \
--cc=david.larsson@selfhosted.xyz \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.