Re: Building hexyl (a rust app) without cargo, with antioxidant-build-system

2022-05-30 Thread Efraim Flashner
On Sat, Apr 02, 2022 at 05:18:55PM +0200, Maxime Devos wrote: > Hi, > > antioxidant-build-system can now be used for some ‘real’ software -- it > compiles 'hexyl'. To test, download > (commit: > d09fd93750ac6d77e0c85623286b45cf5c3b055b) and

Re: auth-tarball-from-git

2022-05-30 Thread zimoun
Hi, On lun., 30 mai 2022 at 01:45, kias...@disroot.org wrote: > Authenticate a tarball through a signed tag in a git repository (with > reproducible builds). > > Blog post: https://vulns.xyz/2022/05/auth-tarball-from-git/ In this post, it reads: Personally - if I had to decide between

Merging the purge-python2-packages branch

2022-05-30 Thread Maxim Cournoyer
Hi everyone, Just so you know, there's this 'purge-python2-packages' branch that does away with quite a few Python 2 packages. It greatly reduces the Python 2 dependency graph of Python 2 packages, without totally eliminating it yet. Here's the list of removed packages, obtained with "git log o

Re: Building hexyl (a rust app) without cargo, with antioxidant-build-system

2022-05-30 Thread raingloom
On Mon, 30 May 2022 11:23:21 +0300 Efraim Flashner wrote: > On Sat, Apr 02, 2022 at 05:18:55PM +0200, Maxime Devos wrote: > > Hi, > > > > antioxidant-build-system can now be used for some ‘real’ software > > -- it compiles 'hexyl'. To test, download > >

Re: Cuirass and SQL

2022-05-30 Thread Development of GNU Guix and the GNU System distribution.
On Fri, 27 May 2022, zimoun wrote: > Initially, Cuirass was using SQLite but then switched [1] to > PostgreSQL. The main reason is scalability. Make sens for the main CI used by Guix or for an organization. > I do not know if it is a technically doable to have two SQL backends and > let the us

Re: Test US mirror for bordeaux.guix.gnu.org and slow downloading of substitutes

2022-05-30 Thread Ludovic Courtès
Hi, Christopher Baines skribis: > Now, performance is probably a bit more complicated than just download > speed. The US mirror holds the narinfo information locally, which should > enable it to respond to requests more quickly, reducing latency, but > this is a little harder to test. For those

Re: Why does sh in the build environment ignore SIGINT and SIGQUIT?

2022-05-30 Thread Ludovic Courtès
Hi, Foo Chuan Wei skribis: > The shell in the environment where packages are built ignores SIGINT and > SIGQUIT. If I add `(invoke "sh" "-c" "trap")` to a custom build phase, > this output is produced during the build: > > trap -- '' INT > trap -- '' QUIT > > Why does the shell in the bu

Re: Merging the purge-python2-packages branch

2022-05-30 Thread zimoun
Hi Maxim, Cool! That’s a nice removal. :-) On lun., 30 mai 2022 at 09:25, Maxim Cournoyer wrote: > Most of the removal were automated using a script [0], but each package > removed had their upstream status considered (using last commit or > existing patches for Python 3 compatibility) and qu

Re: Building hexyl (a rust app) without cargo, with antioxidant-build-system

2022-05-30 Thread Maxime Devos
Efraim Flashner schreef op ma 30-05-2022 om 11:23 [+0300]: > Something that might help with that would be to also include the > source of the crate somewhere in the output. Then at the worst we > could just put the rust inputs of librsvg as regular inputs and let > librsvg do its own special build

Re: antioxidant-build-system can be tested as a channel, + GTK app 'castor' builds

2022-05-30 Thread Ludovic Courtès
Hello, Maxime Devos skribis: > I've set up the channel things for the antioxidant repo, > so now you can put the following in channels.scm: > > (use-modules (guix ci)) > > (cons > (channel > (name 'antioxidated-packages) > (url "https://notabug.org/maximed/cargoless-rust-experiments";) >

Re: antioxidant-build-system can be tested as a channel, + GTK app 'castor' builds

2022-05-30 Thread Maxime Devos
Ludovic Courtès schreef op ma 30-05-2022 om 17:26 [+0200]: > (Unfortunately notabug.org is down since a few days ago.) For now, the fallback location https://github.com/emixa-d/antioxidant-fallback/ can be used. (rest of the response later) signature.asc Description: This is a digitally signed

Re: Merging the purge-python2-packages branch

2022-05-30 Thread Maxim Cournoyer
Hi Simon, zimoun writes: > Hi Maxim, > > Cool! That’s a nice removal. :-) > > On lun., 30 mai 2022 at 09:25, Maxim Cournoyer > wrote: > >> Most of the removal were automated using a script [0], but each package >> removed had their upstream status considered (using last commit or >> existing

Re: emacs-guix (upstream) needs more love: a survey of repositories, homepage and issues

2022-05-30 Thread Ludovic Courtès
Hello Kaelyn, Kaelyn skribis: >> First, we need to cherry-pick relevant commits from gitlab.com. Any >> takers? If you Giovanni or anyone else is willing to help, we can grant >> commit access so we share the work. Another way to help is by listing >> commits that should be applied. >> >> Volunt

Re: Finding a “good” OpenPGP key server

2022-05-30 Thread Ludovic Courtès
Maxime Devos skribis: > Ludovic Courtès schreef op ma 18-04-2022 om 22:24 [+0200]: >> [... guix refresh -u stuff failing due to not finding the key ...] >> I’m not sure what a good solution is (other than looking for the key >> manually on Savannah or on some random key server). > > Alternatively

Re: wishlist: “repack” generations history of profile

2022-05-30 Thread Ludovic Courtès
Hi, zimoun skribis: > On Mon, 23 May 2022 at 17:42, Ludovic Courtès wrote: > >> Exactly! ‘guix pull’ profiles are entirely reproducible: we can rebuild >> them from the output of ‘guix describe’. >> >> So ‘guix gc’ (or something) could automatically remove old generation >> symlinks and instea

Re: Cuirass and SQL

2022-05-30 Thread Ludovic Courtès
Hi, Arun Isaac skribis: >> Initially, Cuirass was using SQLite but then switched [1] to >> PostgreSQL. The main reason is scalability. > > Ah, I see. I didn't know that. Years before, Hydra (https://nixos.org/hydra) also dropped its SQLite backend in favor of PostgreSQL only. Like you, not be

Re: Arun Isaac Presentation on guix-forge this Saturday

2022-05-30 Thread Ludovic Courtès
Hello Arun! Too bad I missed the event on Saturday. Arun Isaac skribis: > guix-forge is a Guix service that, ambitiously, tries to reproduce a > sourcehut, GitHub or GitLab like code forge, but using only > off-the-shelf components like cgit, laminar, public-inbox, etc. The idea > is to enable

Re: A corner case of broken reproducibility

2022-05-30 Thread Ludovic Courtès
Hi, Felix Lechner skribis: > On Tue, May 24, 2022 at 11:42 PM Blake Shaw wrote: >> >> I changed my user name in my config without adding a new user > > I did that once in a new installation. In the second generation of my > configuration I changed the example user 'bob' to my own username. It >

Re: Breaking change: Make 'description' of mandatory

2022-05-30 Thread Ludovic Courtès
Hello Reily, Apologies for the breakage cause by this change. Reily Siegel skribis: > The problem arises when a certain feature needs to extend two services > to be useful: take configuration of an emacs package. It must first > extend (in the case of Guix home) home-emacs-service (from RDE cha

Re: auth-tarball-from-git

2022-05-30 Thread Ludovic Courtès
Hi! kias...@disroot.org skribis: > Authenticate a tarball through a signed tag in a git repository (with > reproducible builds). > > Blog post: https://vulns.xyz/2022/05/auth-tarball-from-git/ > > Source code: https://github.com/kpcyrd/auth-tarball-from-git > > Pretty interesting, could be usefu

Re: Merging the purge-python2-packages branch

2022-05-30 Thread zimoun
Hi Maxim, On lun., 30 mai 2022 at 11:32, Maxim Cournoyer wrote: > zimoun writes: >> On lun., 30 mai 2022 at 09:25, Maxim Cournoyer >> wrote: >> >>> Most of the removal were automated using a script [0], but each package >>> removed had their upstream status considered (using last commit or >>

Java $CLASSPATH variable questions

2022-05-30 Thread Christopher Rodriguez
Hello all, I noticed the other day that neither `icedtea` nor `openjdk` set up a `CLASSPATH` variable for the user. Is this intended behavior, or an oversight I could help to fix in those packages? And as a corollary, is there any reason (for right now, if the above should set that variable) I s

Re: wishlist: “repack” generations history of profile

2022-05-30 Thread zimoun
Hi, On lun., 30 mai 2022 at 17:40, Ludovic Courtès wrote: > Yes, that ‘manifest’ file would have copied elsewhere (we can’t just > remove part of what’s in a /gnu/store directory). [...] >> Instead of this external tracking, I would like to allow this workflow: >> >> guix package -p projec

Re: Arun Isaac Presentation on guix-forge this Saturday

2022-05-30 Thread Arun Isaac
Hi Ludo, > This is really nice. I like the idea of having easy deployment through > a Guix service, and of composing existing tools. (It’d even be worth a > blog post, hint hint ;-)) He he, I'm getting the hint! ;-) Maybe, I'll write a blog post when guix-forge is a little bit more featureful

Re: Cuirass and SQL

2022-05-30 Thread Arun Isaac
Hi Ludo, > Years before, Hydra (https://nixos.org/hydra) also dropped its SQLite > backend in favor of PostgreSQL only. > > Like you, not being a database person, I liked that SQLite was easy to > deploy and had a clear model: it just touches this one file and that’s > it. Exactly! :-) If we u

Re: Arun Isaac Presentation on guix-forge this Saturday

2022-05-30 Thread jgart
On Mon, 30 May 2022 17:55:27 +0200 Ludovic Courtès wrote: Hi Guixers! Below is an updated link that actually shows Arun's screenshare: https://archive.org/details/arun-isaac-guix-forge-may-28 Let me know if you run into any issues. I recommend downloading it from archive.org for local viewing

Re: A corner case of broken reproducibility

2022-05-30 Thread Maxime Devos
Ludovic Courtès schreef op ma 30-05-2022 om 17:58 [+0200]: > Perhaps it should forcefully “chown -R” home directories at boot time, > so they have the right UID?  This has been discussed a few times, I haven't seen the "chown -R" suggestion yet in the context of homes (only for system accounts, an

Re: Arun Isaac Presentation on guix-forge this Saturday

2022-05-30 Thread jgart
On Mon, 30 May 2022 14:31:12 -0500 jgart wrote: > On Mon, 30 May 2022 17:55:27 +0200 Ludovic Courtès wrote: > Hi Guixers! > > Below is an updated link that actually shows Arun's screenshare: > > https://archive.org/details/arun-isaac-guix-forge-may-28 Other link had no audio ;() Here's the la

Re: Faster "guix pull" by incremental compilation and non-circular modules?

2022-05-30 Thread Gábor Boskovits
Hello Maxime, Maxime Devos ezt írta (időpont: 2022. febr. 28., H, 19:51): > Ludovic Courtès schreef op ma 28-02-2022 om 14:17 [+0100]: > > Hi, > > > > Maxime Devos skribis: > > > > > 2. Instead of building all of Guix as a single derivation, > > > create a DAG of derivations. More concr