[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Failing to use guile-bash

From: Catonano
Subject: Re: Failing to use guile-bash
Date: Wed, 28 Nov 2018 14:41:09 +0100

Il giorno mer 21 nov 2018 alle ore 19:22 David Larsson <address@hidden> ha scritto:
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/ 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.

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]