Re: Who owns guix-mirror?

2022-08-16 Thread Phil
Hi Tobias, Tobias Geerinckx-Rice writes: > It's Marius Bakke (mbakke) and me (nckx). It probably wouldn't hurt > to make that list public. Marius, what say you? That would be great if you guys are happy making it public. > > So trusted, and not even third, parties. You're also trusting GitHu

Pinning package inputs using inferiors?

2022-10-20 Thread Phil
ts. My questions are: 1. Is my above use of inferiors always doomed, or something we code make work with changes to Guix core? 2. Is there another way of handling the situation elegantly without using inferiors or duplicating package definitions at module scope. Any advice or comments gladly received! Cheers, Phil.

Re: Pinning package inputs using inferiors?

2022-10-21 Thread Phil
Thanks Simon - I've given an example below. zimoun writes: > For an example, see python-numpy and python-numpy-next in (gnu packages > python-xyz). This was my original way of handling this but in what is perhaps a niche use of Guix by my department - it ultimately doesn't scale well, for our us

Re: Types and builds for mypy

2022-10-23 Thread Phil
Thanks for your reply Maxim, Maxim Cournoyer writes: > Is MyPy the only consumer of Python type annotations? I think so, but > I'm not sure. If it's the only one, it'd make sense to move mypy and > all the annotation types to (gnu packages python-types), I think. Mypy is certainly a prominent

Compile skribilo doc containing guix channel references

2022-10-30 Thread Phil
;#~" My guess is there is a better approach - any suggestions? Perhaps I can call the skribilo compiler from inside "guix repl" for example? Cheers, Phil.

Re: Compile skribilo doc containing guix channel references

2022-10-31 Thread Phil
Hi, Phil writes: > My guess is there is a better approach - any suggestions? Perhaps I can > call the skribilo compiler from inside "guix repl" for example? To somewhat answer my own question in case it's useful to anyone else or if anyone has any suggestion on how to do

Re: Compile skribilo doc containing guix channel references

2022-11-04 Thread Phil
ined with Haunt to produce and serve HTML generated from Guix content too: https://dthompson.us/manuals/haunt/index.html Cheers, Phil.

Re: Compile skribilo doc containing guix channel references

2022-11-05 Thread Phil
Hi, Phil writes: > Hi, > > Ludovic Courtès writes: > >> We toyed with Skribilo/Guix integration in this paper: >> >> https://hal.inria.fr/hal-01161771/en >> >> https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/doc/reppar-2015/reproducible-hp

Re: Compile skribilo doc containing guix channel references

2022-11-06 Thread Phil
Hi Simon, zimoun writes: > I am missing how the Skribilo file is it compiled? At “guix pull” time? > Or manually when running the script compile-docs.scm? > At the moment compilation is only manual and from inside the repo clone: guix environment skribilo guile -- guix repl -- compile-docs.scm

Re: RFC: libgit2 is slow/inefficient; switch to git command?

2022-11-22 Thread Phil
e libgit2 and git behave in the same way! This makes me a bit wary of using libgit2 now. Cheers, Phil.

RE: London Guix meetup

2023-06-13 Thread phil
Excellent - I'll pass this on to various Guix users I know in London! -Original Message- From: guix-devel-bounces+phil=beadling.co...@gnu.org On Behalf Of Arun Isaac Sent: Tuesday, June 13, 2023 11:27 PM To: guix-devel@gnu.org; guile-u...@gnu.org Cc: Fabio Natali ; Christopher B

RE: How can we decrease the cognitive overhead for contributors?

2023-09-04 Thread phil
>I really like Guix, I like what it promises, I love the community around it, and that's what keeps me here. But it's a >deeply frustrating experience to try to contribute to. I've been a contributor in various forms to a great many free >and open source software projects over the years, and Guix i

Guix+Jenkins slides/video

2021-10-04 Thread Phil
pending on progress we could offer to do talks at Guix Days 2021 on these. Cheers, Phil.

Re: --with-source version not honored?

2021-10-20 Thread Phil
Thanks for the reply. Julien Lepiller writes: > evaluated before you can import the package. Maybe (package-version > this-package) would work? Yes! (package-version this-package) worked perfectly - thanks for your help.

Re: --with-source version not honored?

2021-10-20 Thread Phil
Hi zimoun writes: > It reminds me this thread: > > Thanks this is an interesting thread - I stumbled upon a quirk trying to find the right combination of switches. I found that if I do this (which I think is bad): guix envir

Re: --with-source version not honored?

2021-10-23 Thread Phil
. Being able to combine 1 and 2 at the command line - would be very useful. Cheers, Phil.

Re: Guix Packaging Meetup Tomorrow (Saturday) Oct 30 18:00 UTC (14:00 ET)

2021-10-31 Thread Phil
Hi jgart, Is there a recording of this available? - I couldn't make it yesterday. jgart writes: > Hi Guixers! > > I'd like to invite you to a guix packaging meetup tomorrow (Sat) Oct 30 2021 > at > > 14:00 ET (18:00 PM UTC). >

Parallel guix builds can trample?

2022-01-11 Thread Phil
ever been reported like this that people are aware of? Have other people ran multiple builds in Guix under one account at the same time without issue? Any advice on how trap the issue, given it's hard to reproduce? The problem as never been seen when we do each guix build in serial. Apologies for the long and rather circumstantial e-mail! Cheers, Phil.

Re: Parallel guix builds can trample?

2022-01-12 Thread Phil
Hi - more details below. Ricardo Wurmus writes: > > How are you using Guix with this? Do you generate Guix package > expressions? Do you use “guix build --with-commit”? > The situation is like this - if we had a directory of clones of my channel: - pr-1 - pr-2 - pr-3 - pr-4 ... and so on Ini

Re: Parallel guix builds can trample?

2022-01-18 Thread Phil
Maxime Devos writes: > Maybe 'latest-repository-commit' and 'update-cached-checkout' commit > can be modified to not use 'switch-to-ref', and instead directly ask > libgit ‘what's the tree structure of commit cabba9e’ and call a > procedure like 'add-file-tree-to-store'. That would avoid lock f

Re: Parallel guix builds can trample?

2022-01-18 Thread Phil
Ricardo Wurmus writes: > Philip Beadling writes: > >> The source in each one will be slightly different and although I only >> specify commit id in the package > > How are you using Guix with this? Do you generate Guix package > expressions? Do you use “guix build --with-commit”? No, and we

Re: Maven Build System Dependency Issue

2022-02-09 Thread Phil
Julien Lepiller writes: > Hi Phil, > > I have already seen the issue previously, and I believe it is now fixed > on master. As you can see here, > https://github.com/guix-mirror/guix/blob/master/gnu/packages/java.scm#L7899 > we now propagate the correct parent pom. Thanks

Guix Scripts and Unit Testing

2022-02-12 Thread Phil
in a separate file which can import procedures used in repl or manifest scripts in such a way that they still work or can be used as repl or manifest scripts themselves? In the above example, I was hoping to have something like: *guix repl -- gurobi-transform-lib-tests.scm* Any ideas greatfully received! Cheers, Phil.

Re: Guix Scripts and Unit Testing

2022-02-13 Thread Phil
I have a theory about what is causing this - I think it's me not thinking about deferred evaluation carefully enough. On Sat, 12 Feb 2022 at 17:21, Phil wrote: > > To try to work around this, I separated my scripts into a library module > to be unit tested, and a short runner w

Re: Guix Scripts and Unit Testing

2022-02-15 Thread Phil
lling into a library that I can then unit test - so it's not quite as good as having a meta switch for manifests or repl scripts, but it's good enough. On Sun, 13 Feb 2022 at 20:58, Phil wrote: > I have a theory about what is causing this - I think it's me not thinking >

Help to workaround libgit2 fetch refs issue

2022-03-02 Thread Phil
g if anyway could confirm this and/or give me a pointer of where the compliation occurs (where the record in the source is handled and compiled into a git clone) - even if my approach is (quite possibly) unviable, I'd like to understand why! Thanks, Phil. $ guix build -L /home/phil/git/guix/

Re: Help to workaround libgit2 fetch refs issue

2022-03-03 Thread Phil
Thanks for the reply Liliana, On Wed, 2 Mar 2022 at 21:06, Liliana Marie Prikler < liliana.prik...@gmail.com> wrote: > > >> In Guix this means that the first time I build a PR it fails, and I > >> have to do something like "guix build foo | guix build foo" which is > >> at best a clumsy hack, bu

Re: Help to workaround libgit2 fetch refs issue

2022-03-04 Thread Phil
ow) 2) Workaround outside of Guix by cloning the repo for Guix not using libgit2 3) Tell my CI/CD to continue to build all my PRs twice if the first build fails. Details below. Phil writes: > Thanks for the reply Liliana, > > On Wed, 2 Mar 2022 at 21:06, Liliana Marie Prikler > wrote: >

Re: Help to workaround libgit2 fetch refs issue

2022-03-05 Thread Phil
Thanks Liliana for the reply, Liliana Marie Prikler writes: > Am Freitag, dem 04.03.2022 um 09:34 + schrieb Phil: > Again I wonder what the introduction of a new record type solves here. > Wouldn't it be easier to just adapt git-fetch to handle that edge case > and use norm

Re: Windows Subsystem for Linux

2022-03-25 Thread Phil
Maxim Cournoyer writes: > cookbook. I have fellow coworkers (not at Savoir-faire Linux, mind you > :-)) who have yet to escape their Windows jail; giving them a taste of > what is possible out there with Guix would probably be a real eye > opener. At the minimum it would present Guix as a tech

--with-source version not honored?

2021-10-20 Thread Phil Beadling
y way of evaluating version so avoid the problem - I think it's unexpected from a practicioners point of view as packages end up inconsistent. I presume I can manually replace the arguments section of the package in the manifest to workaround this - is there a standard way of doing this? A

Re: --with-source version not honored?

2021-10-24 Thread Phil Beadling
(test-package (specification->package test-package-string))) (package/inherit test-package (propagated-inputs `(("foobarpy" ,my-foobar-package) ,@(fold alist-delete (package-propagated-inputs test-package) '("foobarpy"))) (packages

Issues with v910 of mypy

2021-10-27 Thread Phil Beadling
be better on a slightly older version that works for now, I think? Thanks, Phil.

Re: Parallel guix builds can trample?

2022-01-17 Thread Phil Beadling
writing the patch? Any thoughts/comments/advice? Cheers! Phil. On Wed, 12 Jan 2022 at 09:37, Phil wrote: > Hi - more details below. > > Ricardo Wurmus writes: > > > > > How are you using Guix with this? Do you generate Guix package > > expressions? Do you

Re: Parallel guix builds can trample?

2022-01-18 Thread Phil Beadling
Hi all, The issue also exists when using --with-commit - see below for a refined test that makes it trivial to demonstrate with any package where the source is retrieved from git. On Tue, 18 Jan 2022 at 10:10, Phil wrote: > > > Philip Beadling writes: > > >No, and we

Maven Build System Dependency Issue

2022-02-08 Thread Phil Beadling
Hi Guixers, First let me say I'm a Maven novice, so it's possible I'm doing something dumb on the Maven side of things. I'm unable to make a bare-bones Maven project build in Guix. This looks to be a problem with mismatched dependencies in Guix around java-commons-codec. I suggest what probably