Re: configurable guile backtrace in builder

2023-02-09 Thread Attila Lendvai
> How about passing #:env-vars '(("COLUMNS" . "200")) to > ‘gexp->derivation’ (in the build system), or adding a phase that sets > that environment variable? i assume printed guile backtraces should not be part of the normal output of any package. and then why not introduce an env variable (or

Re: configurable guile backtrace in builder

2023-02-08 Thread Maxim Cournoyer
Hello, Ludovic Courtès writes: > Hi Maxim, > > Maxim Cournoyer skribis: > >> Ludovic Courtès writes: > > [...] > >>> Maxim Cournoyer skribis: >>> Side topic: I wonder if (with some changes to the daemon -- perhaps in DerivationGoal::startBuilder) in nix/libstore/build.cc we could le

Re: configurable guile backtrace in builder

2023-02-08 Thread Ludovic Courtès
Hi Maxim, Maxim Cournoyer skribis: > Ludovic Courtès writes: [...] >> Maxim Cournoyer skribis: >> >>> Side topic: I wonder if (with some changes to the daemon -- perhaps in >>> DerivationGoal::startBuilder) in nix/libstore/build.cc we could leak the >>> COLUMNS variable to be able to control

configurable guile backtrace in builder (was: services: base: Add extra-env support to guix-configuration)

2023-02-01 Thread Maxim Cournoyer
+CC guix-devel Hello! Ludovic Courtès writes: > Hi! > > Maxim Cournoyer skribis: > >> Side topic: I wonder if (with some changes to the daemon -- perhaps in >> DerivationGoal::startBuilder) in nix/libstore/build.cc we could leak the >> COLUMNS variable to be able to control the Guile builder b