From: HiPhish <hiphish@posteo.de>
To: Pierre Neidhardt <ambrevar@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: Setting up Guile for use with Guix
Date: Sat, 18 Aug 2018 23:40:27 +0200 [thread overview]
Message-ID: <90297240.N7uUUQz4v4@aleksandar-ixtreme-m5740> (raw)
In-Reply-To: <87h8jt3sjo.fsf@gmail.com>
> Yes, Guix is only aware of its own store. "Functional" means that the
> environment (the host system) does not impact the way packages are built and
> installed.
> Whatever is done on the APT side will not change how Guix performs its
> operations.
OK, I have installed Guile from Guix now and it seems to run fine. I did have
to install guile-readline separately though. When I installed Guile through
apt it came with the readline library already included.
> This is a Guile question.
> Check the value of
>
> %load-path
>
> In my case, it returns
>
> --8<---------------cut here---------------start------------->8---
> %load-path
> $2 = ("/home/ambrevar/.cache/emacs/elpa/geiser-20180626.1140/scheme/guile/"
> "/home/ambrevar/.guix-profile/share/guile/site/2.2"
> "/run/current-system/profile/share/guile/site/2.2"
> "/gnu/store/p9wm67w3rfw3hlb9iljgvsfn84mz4w9d-guile-2.2.4/share/guile/2.2"
> "/gnu/store/p9wm67w3rfw3hlb9iljgvsfn84mz4w9d-guile-2.2.4/share/guile/site/2.
> 2"
> "/gnu/store/p9wm67w3rfw3hlb9iljgvsfn84mz4w9d-guile-2.2.4/share/guile/site"
> "/gnu/store/p9wm67w3rfw3hlb9iljgvsfn84mz4w9d-guile-2.2.4/share/guile")
> --8<---------------cut here---------------end--------------->8---
>
> "/run/current-system/profile/share/guile/site/2.2" contains guix.scm.
>
> Then from a REPL I can call
>
> ,use (guix gexp)
>
> I'm not so sure about foreign distros, but if guix.scm is nowhere in the
> %load-path, you might have to install the `guix` package:
>
> $ guix package --install guix
>
> This should put guix.scm in one of the /guile/site folders.
This is odd: after I installed Guile and Guix none of the directories listed
above existed. However, after installing guile-readline they appeared along
with a bunch of other Guile libraries.
$ ls site/2.2/
bytestructures gnu.scm guix.scm json.scm sqlite3.scm
git gnutls ice-9 run-tests.body.scm ssh
git.scm gnutls.scm json run-tests.guile.scm
gnu guix json.go run-tests.r7.scm
Well, at least I have it working now. Thank you for your help.
> You can. If you like Guix better, you can even "apt-remove" everything that
> is not strictly necessary to for Kubuntu to start up.
Yes, this is the eventual plan. I want to first update the packages I use and
then get rid of the PPAs I have installed (Neovim and Mono). I had watched a
talk about Guix a while ago and how it aims to solve the problem of stateful
package management, and I was instantly sold. I have tried using Flatpak, but
it's really primarily geared towards proprietary software (just look at the
front page of FlatHub). I believe functional package management is the way of
the future, at least for Free Software.
> Looks like you've double-sent the message ;)
Yeah, sorry about that, I have switched to a new email provider, the first
message did not show up in my "sent" directory, so I thought it got lost.
> Actually there is
>
> https://gitlab.com/a-sassmannshausen/guile-hall/
From the description it sounds like hall is a project generator, not something
to install other libraries with :/
next prev parent reply other threads:[~2018-08-18 21:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-17 12:34 Setting up Guile for use with Guix HiPhish
2018-08-17 15:46 ` Pierre Neidhardt
2018-08-18 21:40 ` HiPhish [this message]
2018-08-24 22:17 ` Ludovic Courtès
2018-08-19 20:41 ` Amirouche Boubekki
-- strict thread matches above, loose matches on Subject: below --
2018-08-17 11:39 HiPhish
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=90297240.N7uUUQz4v4@aleksandar-ixtreme-m5740 \
--to=hiphish@posteo.de \
--cc=ambrevar@gmail.com \
--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.