guix package path

2022-12-18 Thread Antonio Carlos Padoan Junior
Hi,

I need help to understand why my GUIX_PACKAGE_PATH env variable is not
working as expected.


AFAIU, the variable is correctly set (to my local package channel):


~$ guix describe
Generation 75   Dec 18 2022 20:53:08(current)
  nonguix e95e2b5
repository URL: https://gitlab.com/nonguix/nonguix
branch: master
commit: e95e2b573cbc4b96bdca2c11540e90d23e6428fc
  guix 0ce1f82
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 0ce1f82e5aaac951b21d579eb46bf75cfe6713c0

GUIX_PACKAGE_PATH="/home/antonio/git/my-guix/"


This channel is also available here
https://gitlab.com/acpadoanjr/my-guix.git/
But I want to use it from my local machine while I'm developing.

Using the GUIX_PACKAGE_PATH, I have a local package (sbcl-lispiec) that seems
correctly loaded:


~$ guix search sbcl-lispiec
name: sbcl-lispiec
version: 1.0.2
outputs:
+ out: everything
systems: x86_64-linux i686-linux
dependencies: libiec61850@v1.5.0 sbcl-alexandria@1.4 
sbcl-bordeaux-threads@0.8.8 sbcl-cffi-c-ref@1.0-0.8123cbb sbcl-cffi@0.24.1 
sbcl-cl-csv@1.0.6-2.68ecb5d sbcl-cl-ppcre@2.1.1 
sbcl-cl-utilities@0.0.0-1.dce2d2f
+ sbcl-croatoan@0.0.1-5.5d0949d sbcl-deeds@1.1.1-1.f5df54e sbcl-iterate@1.5.3 
sbcl-slynk@1.0.43-6.4513c38
location: /home/antonio/git/my-guix/my-packages/extra.scm:217:4
homepage: https://gitlab.com/acpadoanjr/lispiec.git
license: GPL 3+
synopsis: IEC-61850 common-lisp library.  
description: IEC-61850 common-lisp library for simulation based on cffi and 
libiec61850.
relevance: 20


But I cannot build it or install it:


~$ guix build sbcl-lispiec
guix build: error: sbcl-lispiec: unknown package


Why? What am I missing?

Best regards,
-- 
Antonio Carlos PADOAN JUNIOR
GPG fingerprint:
243F 237F 2DD3 4DCA 4EA3  1341 2481 90F9 B421 A6C9



Re: texlive-bin: Error: I can't find the format file pdflatex.fmt

2022-12-18 Thread Josselin Poiret
Hi jgart, 

After using LaTeX recently too, I think you don't need texlive-bin, but
rather texlive-base.  You can use the example in the manual to
bootstrap.

Best,
-- 
Josselin Poiret



Re: cirrus (was Re: Release progress, week 10)

2022-12-18 Thread pelzflorian (Florian Pelz)
Ludovic Courtès  writes:
> "pelzflorian (Florian Pelz)"  skribis:
>> That hold-up aside, maybe could you also tentatively add the cirrus
>> initrd module to the 1.4.0 installation image?  I suppose it won’t break
>> anything, but it might help with bugs like
>> .
>
> This wasn’t under my radar and I think it’s too late for such a change
> now.

OK.


> But look, we can do 1.4.1 next month if we want it.  There’s a position
> for a release management team (2–3 people) coming up BTW, so you can all
> prepare your applications.  :-)

I cannot guarantee being available or a good enough decision maker, but
I’m most grateful to you and all maintainers.

Regards,
Florian



Re: Release progress, week 10

2022-12-18 Thread Ludovic Courtès
Hi!

zimoun  skribis:

> On Thu, 15 Dec 2022 at 17:38, Ludovic Courtès  wrote:
>
>> If everything goes well, I plan to publish the release on Monday, 19th.
>> Time to get to your instrument for a release song or whatever other
>> performance you feel like making!  :-)
>
> It reminds me the announce on hpc.guix.info.  Well, I am not have the
> time before Monday to collect the changes.  I can draft on Monday.

Would be great!

> The draft of the announce for the Guix website LGTM.  I will try to
> write a paragraph about «Supporting long-term reproducibility» (SWH
> fallback for channels and Disarchive) on Monday morning.  If you want to
> proceed before, go ahead. :-)

I wrote a couple of paragraphs about this and other things yesterday
(tried to keep it relatively short).  Let me know if you think
anything’s missing.

> I still think that it would be worth to mention the removal of many
> Python 2 packages and that the project stops to maintain Python 2
> packages.  I know it appears in NEWS but it costs nothing to restate
> because many people are not reading all the details of all. :-)

Oh right, I’ll add a few lines.

Thanks!

Ludo’.



Re: cirrus (was Re: Release progress, week 10)

2022-12-18 Thread Ludovic Courtès
Hi,

"pelzflorian (Florian Pelz)"  skribis:

> Ludovic Courtès  writes:
>> There are currently two installer bugs that I think now have a valid fix:
>>
>>   https://issues.guix.gnu.org/60010
>>   https://issues.guix.gnu.org/59784
>
> Sadly those are still not completely fixed…

Both should be fixed now!

> That hold-up aside, maybe could you also tentatively add the cirrus
> initrd module to the 1.4.0 installation image?  I suppose it won’t break
> anything, but it might help with bugs like
> .

This wasn’t under my radar and I think it’s too late for such a change
now.

But look, we can do 1.4.1 next month if we want it.  There’s a position
for a release management team (2–3 people) coming up BTW, so you can all
prepare your applications.  :-)

Ludo’.



re: Drafting a Guix blog post on the FHS container

2022-12-18 Thread Jim Newsome
Sorry for (presumably) breaking threading; I came across this online and 
don't see a way to set my in-reply-to-email header properly.


Anyways just thought I'd mention that I recently learned about this 
feature, and was able to use it to get a downloaded [Tor Browser Bundle] 
running with:



```
guix shell \
  --container \
  --network \
  --emulate-fhs \
  --preserve='^DISPLAY$'
  --share=/run/user/$(id -u)/gdm \
  openssl@1 \
  libevent \
  pciutils \
  dbus-glib \
  bash \
  libgccjit \
  libcxx \
  gtk+ \
  coreutils \
  grep \
  sed \
  file \
  alsa-lib \
  -- \
  ./start-tor-browser.desktop -v
```

`--preserve='^DISPLAY$'` and `--share=/run/user/$(id -u)/gdm` are to get 
access to the display. I'm not sure the second parameter is universally 
correct; I reverse-engineered it via roughly `ps aux | grep -- -auth`.


The `-v` parameter to the browser script keeps it from trying to 
background itself, which otherwise causes the container and browser to 
terminate.


It'd ultimately be nice to package the Tor Browser Bundle properly for 
guix, but it's nice to be able to use it this way in the meantime.


-Jim

[Tor Browser Bundle]: https://www.torproject.org/download/