Re: Looking for Guix alternative to /lib/modules/$(uname -r)/build

2019-09-11 Thread Ricardo Wurmus
Hebi Li writes: > I'm trying to compile and package a kernel module. Kernel modules > require the kernel "build folder" with Makefile, Kconfig, etc, and > compile with: > > make -C /lib/modules/$(uname -r)/build modules > > I'm looking for Guix alternative to the folder /lib/modules/$(u

Re: bug#37369: Getting network-manager-openconnect to work

2019-09-11 Thread Efraim Flashner
Instead of adding openconnect to network-manager, would it be enough to (substitute* "the-file" (("/usr/sbin/openconnect") "openconnect")) -- Efraim Flashner אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or re

Re: bug#37369: Getting network-manager-openconnect to work

2019-09-11 Thread pelzflorian (Florian Pelz)
On Wed, Sep 11, 2019 at 10:38:22AM +0300, Efraim Flashner wrote: > Instead of adding openconnect to network-manager, would it be enough to > > (substitute* "the-file" > (("/usr/sbin/openconnect") "openconnect")) > > No, at least the comment documenting nm_utils_file_search_in_paths says: /**

Unable to Share Internet on GuixSD

2019-09-11 Thread Miguel Suarez
Hello guix!, I'm currenctly loving GuixSD and using it as my main distribution, but I've encountered a problem... If i want to share internet I have to use another distro, which I don't prefer since GuixSD feels better to me. I use mainly GuixSD (as I said) on my main laptop, which I configured in

Re: ./pre-inst-env guix build dangerous inside an environment?

2019-09-11 Thread Wiktor Żelazny
On Tue, Sep 10, 2019 at 04:37:03PM +0200, Ricardo Wurmus wrote: > This sounds like perhaps you ran “./configure” without > “--localstatedir=/var”, so that Guix would be using a different > location for its database and thus consider existing stuff in /gnu to > be invalid. Thank you for your promp

Re: ./pre-inst-env guix build dangerous inside an environment?

2019-09-11 Thread Ricardo Wurmus
Hi Wiktor, > On Tue, Sep 10, 2019 at 04:37:03PM +0200, Ricardo Wurmus wrote: > >> This sounds like perhaps you ran “./configure” without >> “--localstatedir=/var”, so that Guix would be using a different >> location for its database and thus consider existing stuff in /gnu to >> be invalid. > >

Re: Getting network-manager-openconnect to work

2019-09-11 Thread Ludovic Courtès
Hi Florian, "pelzflorian (Florian Pelz)" skribis: > From 8de7675a2dc2c1385d312e35136f8fa9eb4f9825 Mon Sep 17 00:00:00 2001 > From: Florian Pelz > Date: Tue, 10 Sep 2019 12:59:19 +0200 > Subject: [PATCH] gnu: network-manager: Enable openconnect helper. > > * gnu/packages/gnome.scm (network-manag

Re: Help with Learning Programming and LISP

2019-09-11 Thread Viet Le
Thanks for your recommendation. May I ask if Scheme has support for TDD or are there any TDD libraries/frameworks in Scheme? A quick online search didn’t show desired results. I found only TDD for Clojure. Thanks, Viet On Tue, 10 Sep 2019 at 22:24, Zelphir Kaltstahl wrote: > I would like to add

Re: Help with Learning Programming and LISP

2019-09-11 Thread Zelphir Kaltstahl
There is at least one SRFI for a unit test library. Is that sufficient as "support for TDD"? https://srfi.schemers.org/srfi-64/srfi-64.html On 9/11/19 10:53 PM, Viet Le wrote: > Thanks for your recommendation. May I ask if Scheme has support for > TDD or are there any TDD libraries/frameworks in

Re: Help with Learning Programming and LISP

2019-09-11 Thread Viet Le
Thank you Zelphir, this looks great! Viet On Wed, 11 Sep 2019 at 22:24, Zelphir Kaltstahl wrote: > There is at least one SRFI for a unit test library. Is that sufficient as > "support for TDD"? > > https://srfi.schemers.org/srfi-64/srfi-64.html > > > On 9/11/19 10:53 PM, Viet Le wrote: > > Than

Re: Help with Learning Programming and LISP

2019-09-11 Thread Raghav Gururajan
Hello Everyone! Thank you all for your suggesstions. After careful review, I have chose following books to read: PROGRAMMING CONCEPTS: 1) Structure and Interpretation of Computer Programs 2) How to Design Programs COMMON LISP: 1) ANSI Common LISP EMACS LISP: 1) An Introduction to Programming i

Re: Looking for Guix alternative to /lib/modules/$(uname -r)/build

2019-09-11 Thread Hebi Li
Thanks, I've managed to use linux-module-build-system to build the module, and I got the output /gnu/store/...my-module-0.0.1/extra/xxx.ko. I can load the module via insmod with the full path. Now I want to load the module via modprobe, instead of specifying the full path. For that, I need to plac

Re: Getting network-manager-openconnect to work

2019-09-11 Thread pelzflorian (Florian Pelz)
On Wed, Sep 11, 2019 at 10:46:56PM +0200, Ludovic Courtès wrote: > Something I don’t get: why does NM itself know about openconnect? > > There’s a network-manager-openconnect plugin, so I would expect > everything openconnect to happen there. Do you know why it’s not that > way? > > Thanks, > Lu

Re: Help with Learning Programming and LISP

2019-09-11 Thread Konrad Hinsen
On 12/09/2019 03:16, Raghav Gururajan wrote: I have a doubt though, do I have to learn dialects of LISP in a particular order? No, you can learn each of them on its own, and proceed in any order if you want to learn all three of them. If your main goal is to learn about the core features of