Re: Project Documentation Workflow

2023-09-05 Thread Simon Tournier
Hi,

On Fri, 01 Sep 2023 at 10:18, Peter Polidoro  wrote:

> I could solve this using Git tools, such as submodules or subtrees 
> perhaps. I could have a repository that is the documentation 
> skeleton and each project repository would have a reference to 
> that skeleton repository. Then I would probably need to write some 
> script to combine the local project files with the skeleton files 
> to generate the specific project documentation.

Well, from my understanding, you are describing a specific build system
for your documentation. :-)

> I am wondering if a better approach might be to create a Guix 
> package containing the documentation skeleton and each project 
> inherits that package and applies local changes before generating 
> the project documentation. I have not yet used Guix home, but 
> perhaps that can be used for projects as well as home directories 
> for such tasks?

Yeah, maybe having these documentation for each project as Guix
packages, you could share the common build system (script for building
the documentation) and inherit from one package to the other depending
on these projects.

Well, I have never needed to build many documentation. :-)


Cheers,
simon



arm-none-eabi-toolchain: stdlib.h not found

2023-09-05 Thread Ekaitz Zarraga


Hi,

If I guix shell to arm-none-eabi-toolchain:

```
Ekaitz@tuxedo ~/projects/TESTS$ guix shell arm-none-eabi-toolchain
```

arm-none-eabi-toolchain can't use cstdlib because:

```
Ekaitz@tuxedo ~/projects/TESTS [env]$ cat a.c
#include 
void operator delete(void *p) { std::free(p); }

Ekaitz@tuxedo ~/projects/TESTS [env]$ arm-none-eabi-g++ a.c
In file included from a.c:1:0:
/gnu/store/6bq6svar4b2mkp2k3laxqqs1nsxykrvf-profile/arm-none-eabi/include/c++/cstdlib:75:15:
 fatal error: stdlib.h: No such file or directory
 #include_next 
   ^~
compilation terminated.
Ekaitz@tuxedo ~/projects/TESTS [env]$
```

But:

```
Ekaitz@tuxedo ~/projects/TESTS [env]$ ls  $CROSS_C_INCLUDE_PATH  | grep stdlib
stdlib.h
```

Ideas?



Re: How to create and maintain a personal Guix fork?

2023-09-05 Thread Felix Lechner via
Hi Wolf,

On Sun, Sep 3, 2023 at 11:31 AM wolf  wrote:
>
>   I would like to start my own fork of the upstream Guix

That's great news! I think it's the only way to contribute important
changes to Guix. You may find some helpful information at the end of
this message:

https://lists.gnu.org/archive/html/guix-devel/2023-08/msg00121.html

I pull unauthenticated right now but should probably add my key to
'lechner-experimental' on Codeberg. Thanks!

Kind regards
Felix

P.S. Perhaps you meant to force a reply to the list alone. I copied you, anyway.



Re: Icon confusion

2023-09-05 Thread Simon Tournier
Hi,

On Sat, 26 Aug 2023 at 22:53, Richmond  wrote:
> Since installing icecat using guix on Debian 11, I now find that when I
> launch Seamonkey or Firefox they appear with the Icecat icon in the
> panel, and also identify as GNU Icecat in the top bar. I am using Gnome
> Classic. Why is this icon mix-up occurring?

From:
Icecat Firefox Seamonkey Icon mix-up
Richmond 
Sat, 26 Aug 2023 22:53:17 +0100
id:ab7f9cbd-591b-7812-c682-71b76f4af...@gmx.com
https://lists.gnu.org/archive/html/help-guix/2023-08
https://yhetil.org/guix/ab7f9cbd-591b-7812-c682-71b76f4af...@gmx.com


On Sun, 27 Aug 2023 at 13:55, iii_iii  wrote:
> Since installing icecat using guix on Debian 11, I now find that when I
> launch Seamonkey or Firefox they appear with the Icecat icon in the
> panel, and also identify as GNU Icecat in the top bar. I am using Gnome
> Classic. Does anyone know why is this icon mix-up occurring?

Thanks for raising the issue but once is enough. :-)

Cheers,
simon




Re: How do I install libgcc_s in a container?

2023-09-05 Thread Simon Tournier
Hi,

On Thu, 24 Aug 2023 at 15:00, Jonas Møller via  wrote:
> Hi! I'm trying to follow along with 
> https://guix.gnu.org/en/blog/2023/the-filesystem-hierarchy-standard-comes-to-guix-containers/
>
> But I'm unable to install libgcc_s, as lib is no longer an output of 
> gcc-toolchain, so I can't manage to run any foreign binaries.

Well, I am not sure and maybe it is related to the discussions:

gcc-toolchain is missing libstdc++.so
Christopher Rodriguez 
Thu, 04 May 2023 10:46:06 -0400
id:pkmp4emt2km9nz@u6908d19b746052.ant.amazon.com
https://lists.gnu.org/archive/html/guix-devel/2023-05

https://yhetil.org/guix/pkmp4emt2km9nz@u6908d19b746052.ant.amazon.com

Re: gcc-toolchain is missing libstdc++.so
John Kehayias 
Thu, 04 May 2023 21:50:00 +
id:87sfcbzrzy@protonmail.com
https://lists.gnu.org/archive/html/guix-devel/2023-05
https://yhetil.org/guix/87sfcbzrzy@protonmail.com

bug#63258: GCC package lacks librt.so (and instead only provides 
versioned librt.so.1)
Mekeor Melire 
Thu, 04 May 2023 09:16:17 +
id:87ttwscuow@posteo.de
https://issues.guix.gnu.org//63258
https://issues.guix.gnu.org/msgid/87ttwscuow@posteo.de
https://yhetil.org/guix/87ttwscuow@posteo.de

Cheers,
simon



Re: Emacs on a reMarkable

2023-09-05 Thread Simon Tournier
Hi Sébastien,

On Fri, 11 Aug 2023 at 22:26, Sébastien Lerique  wrote:

> I'm trying out ways to get emacs running on a reMarkable 2

Cool!

Please consider I know nothing about reMarkable. :-)

>   apt install guix
>   guix pack -RR -S /emacsbin=bin emacs-no-x

Here you are using emacs-no-x as it was with the release of Guix
packaged by Debian.  Maybe you could run “guix pull” before running
“guix pack”.

> I copy and extract the package in reMarkable. Then, as / and /home are
> different partitions on reMarkable, and / is too small, I follow the way
> Entware packages are installed (see https://toltec-dev.org/ for
> details), so:
>
>   mount -o bind /home/root/gnu /gnu
>
> At this point emacs-no-x runs perfectly when connecting through ssh and
> running it there.

\o/

> But when run from yaft (and from ReTerm), the following error appears,
> and emacs (as well as the minimal bash) fails to run:
>
> --8<---cut here---start->8---
> /gnu/store/97xwzdsw9p6019dbml5mzf781c7avfkq-bash-minimal-5.1.8/bin/bash: 
> error while loading shared libraries: libQt5Core.so.5: cannot open shared 
> object file: No such file or directory
> --8<---cut here---end--->8---

Sorry, I am missing from where it runs just above?

> Are there any ideas to figure out what could lead to this bug?

Just to be sure, could you share which revision (guix describe) of Guix
you are using.  I mean, you are running emacs-no-x from which Guix
revision?


Cheers,
simon



Re: How to use certbot and REQUEST_CA_BUNDLE

2023-09-05 Thread Moisés Simón
according to:

https://www.gnu.org/software//mcron/manual/html_node/Guile-Syntax.html#Setting-environment-variables

it is possible to set env variables for mcron jobs in guile, but I am not sure 
how to glue that in Guix config

5 sept 2023 16:39:49 Saku Laesvuori :

> On Tue, Sep 05, 2023 at 10:59:21AM +0200, Moisés Simón wrote:
>> Hi,
>> 
>> I'm running my own acme server and CA I need to pass REQUEST_CA_BUNDLE env 
>> variable to the certbot mcron job.
>> 
>> What would be the best approach to pass this variable to certbot-service 
>> that Guix provides?
> 
> Probably writing a patch for the certbot service, I don't think it's
> possible to modify the environment of a service's shepherd job if the
> service doesn't provide a configuration option for it.



Re: How to use certbot and REQUEST_CA_BUNDLE

2023-09-05 Thread Saku Laesvuori
On Tue, Sep 05, 2023 at 10:59:21AM +0200, Moisés Simón wrote:
> Hi,
> 
> I'm running my own acme server and CA I need to pass REQUEST_CA_BUNDLE env 
> variable to the certbot mcron job.
> 
> What would be the best approach to pass this variable to certbot-service that 
> Guix provides?

Probably writing a patch for the certbot service, I don't think it's
possible to modify the environment of a service's shepherd job if the
service doesn't provide a configuration option for it.


signature.asc
Description: PGP signature


How to use certbot and REQUEST_CA_BUNDLE

2023-09-05 Thread Moisés Simón
Hi,

I'm running my own acme server and CA I need to pass REQUEST_CA_BUNDLE env 
variable to the certbot mcron job.

What would be the best approach to pass this variable to certbot-service that 
Guix provides?