Re: wip blog post (v2): running Guix System on ARM

2019-11-23 Thread Julien Lepiller
Le Sat, 23 Nov 2019 18:19:22 +0100, Ludovic Courtès a écrit : > Hello, > > Danny Milosavljevic skribis: > > > On Sun, 17 Nov 2019 17:57:28 +0100 > > Julien Lepiller wrote: > > > >> Thank you! attached is a new version of that blog post. I think > >> I'll convert it to texinfo and add it to

Re: Package inputs in manifests

2019-11-23 Thread Timothy Sample
Hi Bengt, Bengt Richter writes: > On +2019-11-23 15:05:49 +0100, Ludovic Courtès wrote: >> >> Bengt Richter skribis: >> >> > Can "collisions" be collisions even if the targets are bit-identical? >> >> Collisions are when the same package appears several times with >> different version string

Re: Package inputs in manifests

2019-11-23 Thread Bengt Richter
Hi Ludo, On +2019-11-23 15:05:49 +0100, Ludovic Courtès wrote: > Hi, > > Bengt Richter skribis: > > > Can "collisions" be collisions even if the targets are bit-identical? > > Collisions are when the same package appears several times with > different version strings, or when the same package/

Re: Wheel group as polkit admins

2019-11-23 Thread Leo Prikler
Hi Ludo, Am Samstag, den 23.11.2019, 18:17 +0100 schrieb Ludovic Courtès: > Hi Leo, > > Leo Prikler skribis: > > > Thanks for the hint. Since it's all just static text, I don't > > really > > need the whole Guile power of computed-file, so I've shortened it > > to: > > > > (define polkit-whee

Re: ARM VM with networking support?

2019-11-23 Thread Mathieu Othacehe
Ludo, > Here’s my tentative config file. > (use-modules (gnu) (gnu bootloader u-boot)) > (use-service-modules networking ssh avahi) > (use-package-modules screen linux pulseaudio wget) I tried to cross-compile your system file, but it depends on glib which uses meson-build-system, that does no

Re: Qemu binfmt on foreign distro

2019-11-23 Thread Mathieu Othacehe
Oops pressed C-c C-c by mistake, sorry :p So here is what is installed by Ubuntu: --8<---cut here---start->8--- mathieu@cervin:~/guix$ ls /proc/sys/fs/binfmt_misc/ -al -rw-r--r-- 1 root root 0 nov. 23 19:42 qemu-aarch64 -rw-r--r-- 1 root root 0 nov. 23 19:4

Re: Qemu binfmt on foreign distro

2019-11-23 Thread Mathieu Othacehe
Hello Ludo, > How did you get ENOENT? Was it because you had installed qemu/binfmt > support from the host distro, and thus /usr/bin/qemu-whatever wasn’t > found? Yes that's it. mathieu@cervin:~$ ls /proc/sys/fs/binfmt_misc/ -al total 0 -rw-r--r-- 1 root root 0 nov. 23 19:27 qemu-aarch64 -rw

Re: Qemu binfmt on foreign distro

2019-11-23 Thread Ludovic Courtès
Hi, Mathieu Othacehe skribis: > On a foreign distro, one can install QEMU and setup the binfmt mechanism > (installing binfmt-support and qemu-user-static packages on > Ubuntu). However, without the proper --chroot-directory arguments passed > to guix-daemon, all binaries execution relying on bi

Re: Guix and FSDG

2019-11-23 Thread Ludovic Courtès
Hello, Clément Lassieur skribis: > Indeed 'guix build --source' returns the freed source. However, the > original archive does end up in /gnu/store, and its path in displayed > during the build. (Only if you build from source, without substitutes, etc.) The spirit of the FSDG is that the dist

Re: FSFE seeking talks for 36C3

2019-11-23 Thread Ludovic Courtès
Hi, Hartmut Goebel skribis: > the FSFE is seeking free software projects to be presented at 36C3. > > Anybody having a ticket and wants to present Guix? (I could step in, but > would leave this to those with more guix background.) > > https://fsfe.org/news/2019/news-20191102-01.en.html I don’t

Re: overdrive looking for a shelter

2019-11-23 Thread Pierre Neidhardt
Should be fine. Not 100% sure I will be at the same spot after June, but by then maybe someone else could adopt it. -- Pierre Neidhardt https://ambrevar.xyz/ signature.asc Description: PGP signature

Re: Propagate inputs with a specific output only?

2019-11-23 Thread Ludovic Courtès
Hello, Hartmut Goebel skribis: > I have a package, written in Python, which consists of a command line > tool and a GUI. Since the GUI requires Qt, I would like to create two > outputs: "out", and "gui". Thus one could install the command line tool > without huge dependencies. > > Now the GUI re

Re: guix gc doesn't seem to clean old guix revision

2019-11-23 Thread Ludovic Courtès
Hi Yoann, YOANN P skribis: > Not sure if it is related but i also observed that guix pull changed my > /root/.config/guix/current symlink > > Prior to guix pull: > /root/.config/guix/current --> /var/guix/profiles/per-user/root/current-guix > After guix pull: > /root/.config/guix/current --> /v

Re: Why is the default $HOME /homeless-shelter?

2019-11-23 Thread Ludovic Courtès
Hi Clément, Thanks for researching this! clem...@lassieur.org (Clément Lassieur) skribis: > https://github.com/NixOS/nix/blob/258897c265a6d6575f1669a896ab6f5ab92337c3/src/libstore/build.cc#L1694 > > Set HOME to a non-existing path to prevent certain programs from using > /etc/passwd (or NIS, or

Re: FOSDEM is coming!

2019-11-23 Thread Efraim Flashner
I've been working on using 'guix system container' to deploy services on non-Guix systems and I've been thinking of preparing a talk and sending it off to the distribution room. I think it would be interesting to give a talk to the rust people about my experiences trying to package rust in Guix bu

Re: Overhauling the cargo-build-system

2019-11-23 Thread Ludovic Courtès
Hi, Efraim Flashner skribis: > On Sun, Nov 17, 2019 at 10:22:21PM +0100, Ludovic Courtès wrote: >> Hi, >> >> Efraim Flashner skribis: >> >> > The big problems are the recursive dependencies, the partial >> > dependencies and the versioning. There are some that are easy to figure >> > out, ser

Re: Test-suite for guix deploy?

2019-11-23 Thread Ludovic Courtès
Hi, Hartmut Goebel skribis: > The idea is: Start two virtual machines, one is the "admin station" > (ADM) and one is the "deployment target" (TGT), conntected by network. > In ADM run "guix deploy TGT". Ah yes, that’s a good idea! We need to augment a bit the test infrastructure to support it,

Re: overdrive looking for a shelter

2019-11-23 Thread Ludovic Courtès
Howdy! Pierre Neidhardt skribis: > Cool, I'm in Paris, if no one is particularly interested, I can probably > adopt the overdrive then! :) Awesome! Technically, it’s best if the OverDrive is reachable 365 days a year, with a stable connection and good bandwidth (typical consumer DSL/FTTH in Fr

Re: wip blog post (v2): running Guix System on ARM

2019-11-23 Thread Ludovic Courtès
Hello, Danny Milosavljevic skribis: > On Sun, 17 Nov 2019 17:57:28 +0100 > Julien Lepiller wrote: > >> Thank you! attached is a new version of that blog post. I think I'll >> convert it to texinfo and add it to the cookbook, instead of making it >> a blog post, as we then could change or remove

Re: Wheel group as polkit admins

2019-11-23 Thread Ludovic Courtès
Hi Leo, Leo Prikler skribis: > Thanks for the hint. Since it's all just static text, I don't really > need the whole Guile power of computed-file, so I've shortened it to: > > (define polkit-wheel > (file-union >"polkit-wheel" >`(("share/polkit-1/rules.d/wheel.rules" > ,(plain-f

Re: Profiles/manifests-related command line interface enhancements

2019-11-23 Thread Ludovic Courtès
Howdy! Konrad Hinsen skribis: >> I’d like to think that writing Guile declarations for the OS config, >> manifest, etc. is not just for “power users”. After all people, or >> rather “computer-savvy” people in a broad sense, write JSON, YAML, >> custom config files etc. routinely, and I don’t th

Re: Qt/KDE build system?

2019-11-23 Thread Ludovic Courtès
Hi! Hartmut Goebel skribis: > I'm currently packaging some KDE applications and find myself adding > this to each of the package descriptions: > >     (arguments > `(#:modules ((guix build cmake-build-system) >   (guix build qt-utils) >   (guix build utils))

Re: FOSDEM is coming!

2019-11-23 Thread Mathieu Othacehe
Hey Ludo, > It’d be nice if you could present what you’ve been doing in or around > Guix there, particularly in tracks that would allow us to reach out to > people we don’t usually get to talk to. There’s been a lot of work on a > variety of hot topics: bootstrapping (Mes & co., Rust, etc.), Gu

Re: Relationship between Docker and Guix

2019-11-23 Thread Ricardo Wurmus
Hi Laura, > I am preparing a talk to introduce the community in a meetup, and one of > the topics the people want to know about is its relationship with > Docker. There is no direct relationship between the two. They serve different purposes and there’s little overlap, but there’s confusion ab

FOSDEM is coming!

2019-11-23 Thread Ludovic Courtès
Hello Guix! FOSDEM is coming, friends! We have very few days left to submit talks in developer rooms. The following tracks seem to be relevant to us: • Minimalist languages: (deadline: Nov. 26th). • HPC:

Re: Package inputs in manifests

2019-11-23 Thread Ludovic Courtès
Hi, Bengt Richter skribis: > Can "collisions" be collisions even if the targets are bit-identical? Collisions are when the same package appears several times with different version strings, or when the same package/version appears several times with a different store item. Ludo’.

Qt/KDE build system?

2019-11-23 Thread Hartmut Goebel
Hi, I'm currently packaging some KDE applications and find myself adding this to each of the package descriptions:     (arguments `(#:modules ((guix build cmake-build-system)   (guix build qt-utils)   (guix build utils))    #:imported-modules (,@%cmake-bui

Re: Guix and FSDG

2019-11-23 Thread Clément Lassieur
Giovanni Biscuolo writes: > please can you file a bug? > the bug could (should) be specific to the zpaq package No, it's common to all packages (use 'guix build -S --no-substitutes' to reproduce easily). And the documentation[1] doesn't say it shouldn't behave this way. It says: --8<-

Re: Guix and FSDG

2019-11-23 Thread Giovanni Biscuolo
clem...@lassieur.org (Clément Lassieur) writes: [...] > The former allows me to access zpaq64.exe and zpaq.exe although the > snippet is: > > --8<---cut here---start->8--- > (snippet > ;; Delete irrelevant pre-compiled binaries. > '(begin > (for-each dele

Relationship between Docker and Guix

2019-11-23 Thread Laura Lazzati
Hi Guix! I am preparing a talk to introduce the community in a meetup, and one of the topics the people want to know about is its relationship with Docker. I've read the manual, and have Ludo's talk from FOSDEM 2019, but if someone more experienced than me can help me (maybe there is a blog post,

Re: Guix and FSDG

2019-11-23 Thread Giovanni Biscuolo
Hello, "Thompson, David" writes: [...] > This exact > circumstance was brought up in the early days of the Guix project when > FSDG compliance was a big topic of discussion because Ludovic and RMS > were making sure that Guix conformed to it. It is true that Guix will > download source archive