Re: Pinebook pro build

2021-04-24 Thread Vincent Legoll
Hello, I did try to get guix running on the pbp earlier, with the images, first trying to cross-build them myself, then with the cuirass built ones. I'm not sure I got anything working at all (no console output, serial console problem). I now got some time to try again, and chose a different path

Guix Jupyter notebook

2021-04-24 Thread phodina via
I wanted to run a Jupyter notebook using Guix to define the inputs. However I run into an issue in python module. Could you help me with the DistributionNotFound error? $ guix install jupyter guix-jupyter ... $ guix describe Generation 21 Apr 21 2021 10:14:08(current) guix 13c4a37 re

Import package and generate use-module

2021-04-24 Thread phodina via
I'm making a package for octoprint which is imported from PyPI. guix import -r octoprint generates the template to build the package. However, I'm missing the :#use-module ... in order to build the package when I add (define-module (python-octoprint). Given the fact there are tens of inputs doi

Image for Beaglebone black

2021-04-24 Thread phodina via
I tried to build a Guix image for Beaglebone Black based on this blog post (https://guix.gnu.org/blog/2017/porting-guixsd-to-armv7/).Running guix system image --system=armhf-linux -e "(@ (gnu system install) beaglebone-black-installation-os)" gave me errors in elfutils. Should I report these fa

Help creating custom channel

2021-04-24 Thread phodina via
Hi, I created package definition and wanted to place it in my custom channel. Therefore I placed the channel definition in ~/.config/guix/channels.scm (cons* (channel (name 'expanse) (url " https://gitlab.com/phodina/expanse ") (introduction (make-channel-introduction "71b93677a2312b2d0af2bfc1cc7

Installing file outside package in /etc

2021-04-24 Thread phodina via
I'm creating a package for application which needs to install file outside of the derivation directory. The file in question is /etc/sudoers.d but it can be generalized for other things like udev etc. I understand this won't be trivial since it modifies the system and will probably require some

Re: Help creating custom channel

2021-04-24 Thread Julien Lepiller
Hi, Are you sure expanse/packages/sterm.scm starts with (define-module (expanse packages sterm) …) ? I think it would cause this issue if it doesn't. HTH! Le 24 avril 2021 05:28:49 GMT-04:00, phodina via a écrit : >Hi, I created package definition and wanted to place it in my custom >chann

Re: How to reference a module defined in another package?

2021-04-24 Thread mbcladwell
Thanks but I don't see how channels will help me. Artanis is in the public Guix repository. If I query my local store for the missing module: mbc@HP8300:~/temp/limsn$ find /gnu/store -wholename '*artanis/utils*' /gnu/store/2slcmvlhyr0n5chrr6nyz0df886xb31s-artanis-0.3.1/share/guile/site/2.2/a

Building Python pkg - date2name

2021-04-24 Thread phodina via
Hi, I'm trying to build a python module date2name. However, I can't use guix import pypi date2name as I get error: guix import: error: no source release for pypi package date2name 2018.05.09.1 So I just download it from github and attempt the build. But, it does not have a setup.py file and fai

Re: Import package and generate use-module

2021-04-24 Thread Ekaitz Zarraga
Hi, ‐‐‐ Original Message ‐‐‐ On Saturday, April 24, 2021 11:26 AM, phodina via wrote: > I'm making a package for octoprint which is imported from PyPI. guix import > -r octoprint generates the template to build the package. > > However, I'm missing the :#use-module ... in order to build

Re: Installing file outside package in /etc

2021-04-24 Thread Sergiu Ivanov
Hi, Guix beginner here. Thus quoth phodina via on Sat Apr 24 2021 at 11:30 (+0200): > I'm creating a package for application which needs to install file > outside of the derivation directory. > > The file in question is /etc/sudoers.d but it can be generalized for > other things like udev etc.

Re: How to reference a module defined in another package?

2021-04-24 Thread Vincent Legoll
Hello, On Sat, Apr 24, 2021 at 2:56 PM wrote: > Thanks but I don't see how channels will help me. Artanis is in the > public Guix repository. If I query my local store for the missing > module: Sorry, I misunderstood, and thought that your module was outside. -- Vincent Legoll

Re: Guix Jupyter notebook

2021-04-24 Thread Efraim Flashner
On Sat, Apr 24, 2021 at 09:33:47AM +, phodina via wrote: > I wanted to run a Jupyter notebook using Guix to define the inputs. However I > run into an issue in python module. Could you help me with the > DistributionNotFound error? > > $ guix install jupyter guix-jupyter > ... > $ guix descr