guix build gives `/homeless-shelter' exists; please remove it

2022-01-21 Thread Phil Beadling
Hi Guixers, As of last night my Guix installation (on Ubuntu) is giving the following error when trying to fetch a URL as part of the 'guix build'. The error does not happen when downloading the same package using 'guix download': *guix build: error: directory `/homeless-shelter' exists; please

Re: Getting Unit Test Results Out Of Guix Build

2021-11-04 Thread Phil Beadling
Hi, On Tue, 26 Oct 2021 at 19:31, Phil wrote: > Hi, > > raingloom writes: > > > > Couldn't this just be another package output? Maybe not the most elegant > > solution, since those are not usually used this way, but it can sort of > > work. Just add a phase that copies the logs to the "tests" ou

Getting Unit Test Results Out Of Guix Build

2021-10-25 Thread Phil Beadling
Hi all, Given Guix builds packages in a container, is there any way of getting a file out of the build container for further processing? In my use case - I generate some junit test XML output during the build process and want to render that to a webpage rather than send it to stdout as part of th

Re: Loading Channels from a file

2021-10-17 Thread Phil Beadling
To answer my own question somewhat see below - although I need to think a bit more my my original approach wasn't good enough - the problem I think it my own understanding of Guile! On Sat, 16 Oct 2021 at 22:24, Phil Beadling wrote: > Hi, > > (define my-channels2 (call-with-inpu

Loading Channels from a file

2021-10-16 Thread Phil Beadling
Hi, I have what I fear may be more of Guile question than a Guix question - but the context is Guix, so here goes! If I want to do the following - let's say I'm interested in playing around with Guix programatically, as it existed on the 3rd October. The following works perfectly well and can be

Re: GUIX_PACKAGE_PATH doesn't have priority over official guix packages

2021-10-16 Thread Phil Beadling
As far as I can see, Guix will always prefer the highest version number irrspective of which channel is sources it from. If you want another version you can use the '@' format as you have already worked out. Another way is to define the package is to keep the 'name' of the original, but the defin

GUIX_LOCPATH in empty environments vs profiles

2021-10-13 Thread Phil Beadling
Hi all, I've noticed what looks like me to be a discrepancy between environments and profile. I'm running Guix as a package manager over Ubuntu in this instance. If I create even an empty environment in Guix, GUIX_LOCPATH is set, but in order to achieve the same ends in a profile I need to expli

Subtituting location of ca-certificates.crt

2021-09-24 Thread Phil Beadling
Hi all, I have a package defintion that needs to the know the location of ca-certificates.crt at build time. I've resolved similar problems before by patching the location of certs after the unpack stage to match the location of nss-certs (see below). However, it looks like the actual cert bundl

Re: scm_lreadr error on guix pull

2021-08-23 Thread Phil Beadling
On Mon, 23 Aug 2021 at 18:18, zimoun wrote: > > Could you try with the broken account this: > > /usr/bin/guix pull -p /tmp/test > /usr/bin/guix pull -p ~/.config/guix/current > hash guix > which guix > guix pull > > Thanks for the suggestion - I think I did a similar test which has solv

Re: scm_lreadr error on guix pull

2021-08-23 Thread Phil Beadling
On Mon, 23 Aug 2021 at 14:59, zimoun wrote: > > This commit is from May 2021. So it is weird that you pull this commit. > Yep - I keep all my accounts in lockstep and move them every few months - it has been a while since I've done this, but the commit id shouldn't matter - I should be able to

Re: scm_lreadr error on guix pull

2021-08-23 Thread Phil Beadling
tore/hp8l72b5pxfwys4x806pkl0apkzg9s4g-compute-guix-derivation.drv' failed There's also a bit more info I forgot to include in the stdout. I have tried to do a "guix pull --rollback" - that didn't seem to help. On Mon, 23 Aug 2021 at 14:01, Phil Beadling wrote: > Thanks for yo

Re: scm_lreadr error on guix pull

2021-08-23 Thread Phil Beadling
Thanks for your help Ricardo - see inline. On Mon, 23 Aug 2021 at 13:45, Ricardo Wurmus wrote: > > > I cannot reproduce this. > > Could you please provide the output of “guix describe”? What Guix > are you using after deleting ~/.config/guix? > > guix 6755408 repository URL: https://git.s

scm_lreadr error on guix pull

2021-08-23 Thread Phil Beadling
Hi all, I'm seeing this error doing a guix pull from a single linux account. All other linux accounts are operating fine on guix pull on the same machine. I tried removing ~/.config/guix for this account, but this made no difference. The error is comming (I think) from invoke/quiet receiving a

A single reference to installed non-binaries

2021-08-17 Thread Phil Beadling
Hi all, I have some platform independent files I have created a package for using copy-build-system. This works great but I've come across situation I don't know how to handle. Let's call the package I've made package-x, and let's say that package-y (which is for arguments sake is a python build

Re: python-pyarrow broken for parquet?

2021-07-05 Thread Phil Beadling
Apologies one tiny correction - the version of python-pandas probably doesn't need changing - in the package I update to a more recent custom build of pandas, I'm using - but it's probably not necessary: ("python-pandas" ,python-pandas-simm) On Mon, 5 Jul 2021 at 13

Re: python-pyarrow broken for parquet?

2021-07-05 Thread Phil Beadling
As promised - this works for me but the patching of the make files, in particular the 2 sed commands is very brittle to any changes in the underlying project. I'm not sure it should go into Guix proper as-is, but if people think it's useful I'm happy to submit the patch. I may try to improve on t

python-pyarrow broken for parquet?

2021-06-30 Thread Phil Beadling
Hi all, When trying to use the parquet module in pyarrow - it's not finding the internal module. This is true for latest 4.0.1 and also the previous version (shown below). This is despite the fact that in the underlying apache-arrow package parquet support is explicitly turned on as far as I can

Inconsistencies in Package Transformation?

2021-05-18 Thread Phil Beadling
Hi all, I've read through this link: https://guix.gnu.org/manual/en/html_node/Package-Transformation-Options.html But I seem to get unexpected outcomes in some examples - see below. Any advice or confirmation that this is a bug or misuse by me? Thanks, Phil. A simple case of package transforma

Re: Find location of installed package in /gnu/store

2021-05-15 Thread Phil Beadling
> > Thanks for both answers on this - it's been an interesting rabbit hole. > Edouard's script gave me the version of icedtea-8 exactly as sourced by: > guix environment --ad-hoc icedtea:jdk I managed to simplify the script down to a one-liner - giving the same version as Edourard's: (display (run

Find location of installed package in /gnu/store

2021-05-14 Thread Phil Beadling
Hi, Given a package definition, eg icedtea-8's JDK, how can can I determine the location of the installed package in my /gnu/store? There doesn't seem to be anything on the package module itself, presumably because this is static data, and what I need is something to calculate the hash of the res

Default/global packages for foreign distro

2021-03-16 Thread Phil Beadling
Hi all, Refering to this section of the manual: https://guix.gnu.org/manual/en/guix.html#Locales-1 Is it possible in a foreign distro setup to define a set of base packages in a global profile, set for all users? I'm trying to avoid having to install a locale for each user account if possible?

Re: Export PDFs in Emacs Org

2021-03-12 Thread Phil Beadling
On Fri, 12 Mar 2021 at 15:57, Ricardo Wurmus wrote: > > > >Dependent on the needs of your document, though, you will need to > >install more packages that are not part of the “required” set (even > >though other distributions may have them installed for convenience). > >Exactly what those are is