Re: How do I verify my hashes?

2022-07-09 Thread Vagrant Cascadian
On 2022-07-09, jg...@dismail.de wrote: > Today Bonface mentioned to me that I should be cloning my packages and > verifying the hashes with `git hash-object` or `git hash` iirc? probably "guix hash" > Do others do this when packaging? > > My workflow currently is the lazy way: > > 1. I change the

How do I verify my hashes?

2022-07-09 Thread jgart
Hi Guixers, Today Bonface mentioned to me that I should be cloning my packages and verifying the hashes with `git hash-object` or `git hash` iirc? Do others do this when packaging? My workflow currently is the lazy way: 1. I change the version in the package definition. 2. build the package

Why do we force the lazy python?

2022-07-09 Thread jgart
Hi Guixers, Why do we check if python is a promise and then "force" it? I'm just trying to understand the thinking for doing that since I didn't write this code. ``` (let ((python (if (promise? python) (force python) python))) ... ``` I understand that

Re: Android.mk build system limitations

2022-07-09 Thread Denis 'GNUtoo' Carikli
On Sat, 9 Jul 2022 14:57:10 +0200 Denis 'GNUtoo' Carikli wrote: > On Wed, 6 Jul 2022 17:20:27 +0200 > Denis 'GNUtoo' Carikli wrote: > > But it then ends up building the first local-module in the > > local-modules list, many times, and install it with different names. > In my previous tests https

Re: Modular texlive and xelatex

2022-07-09 Thread Andreas Enge
Hello Maxim, Am Tue, Jun 21, 2022 at 11:27:48PM -0400 schrieb Maxim Cournoyer: > If you're going for xelatex, I suggest migrating from Babel to > Polyglossia, as that's recently been fixed and tested to work fine with > e.g. generating the IPython documentation in PDF format. > Hope that helps, y

Re: Android.mk build system limitations

2022-07-09 Thread Denis 'GNUtoo' Carikli
On Wed, 6 Jul 2022 17:20:27 +0200 Denis 'GNUtoo' Carikli wrote: > But it then ends up building the first local-module in the > local-modules list, many times, and install it with different names. In my previous tests https-send-sms was first in both the local-modules list and in the BUILD_EXECUTAB

Re: Package definition hash calculation

2022-07-09 Thread Julien Lepiller
When you use guix download, or url-fetch, the hash is computed over the entire file, whether it's a tarball that contains other files or whatever else doesn't matter. You can't exclude files from inside the tarball. It's just the checksum of the file. What you describes sounds like you're downl

Package definition hash calculation

2022-07-09 Thread Zelphir Kaltstahl
Hello Guix users! I feel a bit stupid to ask about this topic again, however, to me it is not really clear, what I need to do, when calculating the hash of a package, so that I can write it in the package definition. I have a project (https://notabug.org/ZelphirKaltstahl/guile-fslib), which I