Subject: Re: bug#22948: Porting ocl-icd to guix fails because of ruby

From: [email-masked] (Ludovic Courtès)
Date: Wed, 09 Mar 2016 14:33:25 +0100

Dennis Mungai <[email-masked]> skribis:

> env TEMPDIR=/gnu/tmp GUIX_PACKAGE_PATH=../guix-bioinformatics
> ./pre-inst-env guix build -K ocl-icd

Note that setting TEMPDIR here (or even TMPDIR) has no effect, since
it’s the ‘guix-daemon’ process, not ‘guix build’, that creates temporary
files.

> Error encountered:
>
> guix build: error: build failed: error parsing derivation
> `/gnu/store/7f9hwk8v9vzghc93m93y94iibvcc3mvd-ruby-2.3.0.tar.xz.drv':
> expected string `Derive(['

Could you send the content of the file above?

It looks like your store may be be corrupt.  Did you modify files by
hand under /gnu/store?  This would void your warranty.  :-)

Thanks,
Ludo’.