Re: Help on writing package definitions

2020-04-23 Thread Emmanuel Medernach
Hello Vincent, glad to read from you here ! Thanks for your hints, I didn't realize that it should return #t at the end. However I still have the same error. Emmanuel On Thu, Apr 23, 2020 at 11:41 AM Vincent Legoll wrote: > Hello Emmanuel, > > really nice to see you here ! > > A few smallish

Re: Help on writing package definitions

2020-04-23 Thread Emmanuel Medernach
On Thu, Apr 23, 2020 at 12:00 PM zimoun wrote: > Dear, > > > On Thu, 23 Apr 2020 at 10:29, Emmanuel Medernach > wrote: > > > - Why not export the license record type from license.scm ? Some project > > has its own license and I cannot create it. > > You me

Help on writing package definitions

2020-04-23 Thread Emmanuel Medernach
I missing ? Thanks in advance Best regards, Emmanuel Medernach (define-module (CBM) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (gnu packages autotools) #:use-module (gnu p

Few questions

2020-05-12 Thread Emmanuel Medernach
-ROOT-6.20.02: No such file or directory Best regards, Emmanuel Medernach

Re: Few questions

2020-05-13 Thread Emmanuel Medernach
On Tue, May 12, 2020 at 2:04 PM zimoun wrote: > On Tue, 12 May 2020 at 13:55, Emmanuel Medernach > wrote: > > > It is the name of a locally defined package, my partition was full and I > deleted the /gnu/store/rj2ir3hmaanvwwvyy6d1a1qv0f0xp537-ROOT-6.20.02 > directory by er

Re: Few questions

2020-05-12 Thread Emmanuel Medernach
On Tue, May 12, 2020 at 1:40 PM zimoun wrote: > On Tue, 12 May 2020 at 11:30, Emmanuel Medernach > wrote: > > >> guix build $(guix gc --derivers > >> /gnu/store/rj2ir3hmaanvwwvyy6d1a1qv0f0xp537-ROOT-6.20.02) > > > > Nothing happens, it does not recompil

Re: Few questions

2020-05-12 Thread Emmanuel Medernach
Thanks, It works ! I had to add the TMPDIR to the guix daemon environment variables and not to the user. Emmanuel On Tue, May 12, 2020 at 11:41 AM pelzflorian (Florian Pelz) < pelzflor...@pelzflorian.de> wrote: > On Tue, May 12, 2020 at 09:22:13AM +0200, Emmanuel Medernach wrote:

Problem compiling boost for mysql

2020-05-14 Thread Emmanuel Medernach
Hello Guixers, I have an error when trying to build a package, the following gnu packages derivation does not compile: # guix build -e '(@ (gnu packages boost) boost-for-mysql)' phase `more-bin-sh-patching' succeeded after 0.0 seconds starting phase `configure' Backtrace: 10

Re: Few questions

2020-05-14 Thread Emmanuel Medernach
Hello, I believe you, but here it is in my shell history: sudo rm -Rf /gnu/store/rj2ir3hmaanvwwvyy6d1a1qv0f0xp537-ROOT-6.20.02 Surely because I am using a foreign distro Regards, Emmanuel On Thu, May 14, 2020 at 1:34 PM Tobias Geerinckx-Rice wrote: > Tobias Geerinckx-Rice 写道: > > λ

Local definitions and Virtual machine image

2020-06-03 Thread Emmanuel Medernach
"guix build" to list store directories from package names but it tries instead to recompile them even though they are already installed. How to properly export local definitions in the virtual machine image ? Best regards, Emmanuel Medernach

Re: Local definitions and Virtual machine image

2020-06-05 Thread Emmanuel Medernach
On Wed, Jun 3, 2020 at 5:23 PM Marius Bakke wrote: > > 'guix package -I' only lists packages that are installed to the user > profile. Use 'guix package -p /run/current-system/profile -I' to see > system-installed packages. > > Thanks it works > The reason 'guix build foo' gives a different

Re: Local definitions and Virtual machine image

2020-06-05 Thread Emmanuel Medernach
> I pulled the same commit on the VM that the one obtained > with "guix describe" but it still recompiles my local > packages with "guix build". Did I forget something ? > I mean it does not download from my substitute server. I have another question: How to query the output paths

Re: Error: cannot close compressed log file

2022-05-12 Thread Emmanuel Medernach
Le 10/05/2022 à 19:52, zimoun a écrit : Hi, On Mon, 09 May 2022 at 12:50, Emmanuel Medernach wrote: When trying to install a custom package the build stop after downloading the source code with this error: guix install: error: cannot close compressed log file (gzip error = -1) Well, I

Re: Trying to replicate guix packages list on another machine

2022-06-27 Thread Emmanuel Medernach
with other packages on machine B ? Emmanuel On June 27, 2022 3:49:58 PM GMT+02:00, Emmanuel Medernach wrote: Hello, We are trying to replicate guix packages list on another machine. We are using GUIX on a foreign distro. Here what we have on machine A: [Machine A]$ guix descri

Trying to replicate guix packages list on another machine

2022-06-27 Thread Emmanuel Medernach
ng ? Please tell us what steps are missing to correctly replicate guix packages to another machine ? Best regards, Emmanuel Medernach

Re: Trying to replicate guix packages list on another machine

2022-06-27 Thread Emmanuel Medernach
Le 27/06/2022 à 16:32, zimoun a écrit : I guess “guix describe” on ’Machine B’ is not the state specified by ’Machine A’. From my understanding, the easiest workflow is: machine-A$ guix describe -f channels > state-A.scm machine-A$ guix package --export-manifest > pkgs-A.scm exchange these

Re: Trying to replicate guix packages list on another machine

2022-06-28 Thread Emmanuel Medernach
Le 27/06/2022 à 17:39, zimoun a écrit : Hi, On Mon, 27 Jun 2022 at 16:51, Emmanuel Medernach wrote: Thanks, here is the resulting manifest: (specifications->manifest   (list "gsl"     "pcre"     "icu4c"     "zlib"

Error: cannot close compressed log file

2022-05-10 Thread Emmanuel Medernach
, Best regards, Emmanuel Medernach

Re: Error using gcc with trivial-build-system

2022-11-08 Thread Emmanuel Medernach
Le 08/11/2022 à 15:10, Tobias Geerinckx-Rice a écrit : Hi Emmanuel! On 2022-11-08 11:23, Emmanuel Medernach wrote: I have a local package with a compile script that I need to add to our local GUIX packages. (Nitpick: Guix isn't a acronym.  Never has been.) I tried to use trivial-build

Re: Error using gcc with trivial-build-system

2022-11-08 Thread Emmanuel Medernach
Le 08/11/2022 à 22:16, zimoun a écrit : Hi, On Tue, 08 Nov 2022 at 15:48, Emmanuel Medernach wrote: About customizing I have another question, at the end of the build I have messages like: warning: collision encountered: ... This collision is about? What do you as inputs for your

Re: Error using gcc with trivial-build-system

2022-11-08 Thread Emmanuel Medernach
#10: blessed Hilary Januszewski Poznaj świętych krakowskich! #10: błogosławiony Hilary Januszewski https://pl.wikipedia.org/wiki/Hilary_Januszewski -- (sig_end) On Tue, 8 Nov 2022 11:58:41 +0100 Emmanuel Medernach wrote: Le 08/11/2022 à 11:45, Sergiu Ivanov a écrit : Hi, I have little

Re: Error: cannot close compressed log file

2023-02-08 Thread Emmanuel Medernach
Le 08/02/2023 à 15:57, Emmanuel Medernach a écrit : Le 08/02/2023 à 14:48, Simon Tournier a écrit : Hi, On mer., 08 févr. 2023 at 10:58, Emmanuel Medernach wrote: $ guix pack -RR -C bzip2 -f tarball --manifest=manifest.scm substitute: updating substitutes from 'https://ci.guix.gnu.org

Re: Error: cannot close compressed log file

2023-02-08 Thread Emmanuel Medernach
be done about it ? Cheers, Emmanuel Le 13/05/2022 à 10:30, zimoun a écrit : Hi, On jeu., 12 mai 2022 at 11:34, Emmanuel Medernach wrote: --8<---cut here---start->8--- void DerivationGoal::closeLogFile() { if (gzLogFile) { int err;

Re: Error: cannot close compressed log file

2023-02-08 Thread Emmanuel Medernach
Le 08/02/2023 à 14:48, Simon Tournier a écrit : Hi, On mer., 08 févr. 2023 at 10:58, Emmanuel Medernach wrote: $ guix pack -RR -C bzip2 -f tarball --manifest=manifest.scm substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https

How to share profile among machines ?

2024-04-24 Thread Emmanuel Medernach
Hello Guix ! How do you share profiles among machines ? For instance 2 users wants to have the same profile, user A shares the directory /gnu/store/...-profile to user B, user B either get access to it directly or from a remote machine with a  "guix copy ", user B could now use this profile

Re: How to share profile among machines ?

2024-04-26 Thread Emmanuel Medernach
Le 25/04/2024 à 21:35, Felix Lechner a écrit : Hi Emmanuel, On Wed, Apr 24 2024, Emmanuel Medernach wrote: How do you share profiles among machines ? Do you mean users? The original problem was to copy a profile from another machine and use it, guix copy does not add the profile

Re: How to share profile among machines ?

2024-04-25 Thread Emmanuel Medernach
Le 24/04/2024 à 19:37, Tomas Volf a écrit : On 2024-04-24 16:54:19 +0200, Emmanuel Medernach wrote: Hello Guix ! How do you share profiles among machines ? For instance 2 users wants to have the same profile, user A shares the directory /gnu/store/...-profile to user B, user B either get