Re: sbcl/glibc troubles

2018-09-13 Thread Pierre Neidhardt
Sorry, I misread the error message. Your error is unrelated I think, although you might need the aforementioned trick later. The problem is with libosicat. How did you install it? It seems to me that it came pre-compiled as a binary. You can check this with ldd /home/slade/.cache/common-lisp/

Re: sbcl/glibc troubles

2018-09-13 Thread Benjamin Slade
On 2018-09-13T01:47:49-0600, Pierre Neidhardt wrote: > Basically all you need is to call > --8<---cut here---start->8--- > (ql:quickload :cffi) > (push (format nil "~a/.guix-profile/lib/" (uiop:getenv "HOME")) > cffi:*foreign-library-directories*) > --8

Including sources in guix archive --export

2018-09-13 Thread Georges Dupéron
Hi! Is it possible to export a .nar including the sources necessary to rebuild that package? I tried running these commands on the host: sudo guix archive --generate-key guix archive --export --recursive hello > hello.nar And these commands inside a fresh, minimal GUIX environment without n

Re: Guix and Emacs Integration for Polyglot Development

2018-09-13 Thread Jan Nieuwenhuizen
Ludovic Courtès writes: > In all modesty ;-) I think the API is rather good: > > scheme@(guile-user)> ,use(guix profiles) > scheme@(guile-user)> (profile-search-paths "/home/ludo/.guix-profile") > $11 = ((#< variable: "PATH" files: ("bin" "sbin") > separator: ":" file-type: directory file-pattern

Re: racket

2018-09-13 Thread 宋文武
Benjamin Slade writes: > When run Racket, in the REPL, the first command I execute runs fine. But > the second (no matter what it is, even if it's just the first again) > always produces: > > ; ptr-ref: contract violation > ; expected: (and/c cpointer? (not/c (lambda (p) (pointer-equal? p #f)))

Re: Ever-growing store with --gc-keep-outputs?

2018-09-13 Thread Pierre Neidhardt
> Not yet! You could do it manually roughly by (1) listing the referrers > of the store item, recursively, and (2) finding the symlinks in > /var/guix/gcroots that point to one of these. In the example in my first message, the referrers of the .drv are either non-existent or the .drv itself. In

Re: Ever-growing store with --gc-keep-outputs?

2018-09-13 Thread Ludovic Courtès
Hello, Pierre Neidhardt skribis: > Is there a way to find which GC root causes the item to be live? Not yet! You could do it manually roughly by (1) listing the referrers of the store item, recursively, and (2) finding the symlinks in /var/guix/gcroots that point to one of these. We should ad

Re: [ANN] Emacs-Guix 0.5

2018-09-13 Thread Ludovic Courtès
Hello, Alex Kost skribis: > Hello, Emacs-Guix (Emacs interface for GNU Guix) version 0.5 has been > released. If you are not familiar with it yet, you may start with: > ‘guix package -i emacs-guix’ and "M-x guix-help". > > There is one big addition and one big "subtraction" in this release: > >

Re: openvpn with networkmanager

2018-09-13 Thread Ludovic Courtès
Hi, Benjamin Slade skribis: > > On GuixSD, we have an openvpn service, see > > https://guix.info/manual/en/VPN-Services.html#VPN-Services. Once > > configured, you can always start and stop it with "herd start > > openvpn-client" and "herd stop openvpn-client". > > Thanks, Julien. Unfortunat