Re: Python package with some rust dependency

2024-02-15 Thread Alexis Simon
Hi, So right now I'm trying to go the splitting in two packages way, similar to what is done for python-cryptography. So I managed to build the first one that produces a header file in the store /gnu/store/*/lib/header.h In the second package, I don't get how to copy this file inside the

Re: How to debug a failed build of rust application under cargo-build-system?

2024-02-15 Thread Nils Landt
> Tomas Volf <~@wolfsden.cz> hat am 15.02.2024 17:23 CET geschrieben: > > Oh... Right, so I managed to track down the difference. The importer uses > async-stream in 0.3.2 while cargo in 0.3.5. After updating the packaged > version > to 0.3.5, it now compiles, so that is nice. > > Wait, it

Re: why does '-e' work differently in guix shell and guix package?

2024-02-15 Thread Simon Tournier
Hi, Well, I have missed if there is a reply. In case not. :-) On mar., 26 déc. 2023 at 11:48, Alexander Asteroth wrote: > When I do > ``` > $ guix shell --network --container --emulate-fhs bash coreutils -e > '(list (@@ (gnu packages commencement) gcc) "lib")' > ``` > I get a shell, that has

Re: guix offload

2024-02-15 Thread Simon Tournier
Hi, Sorry for the late reply. On mer., 20 déc. 2023 at 14:02, Aleksandr Vityazev wrote: > Is it possible to make the build continue locally after several > unsuccessful attempts? That’s a feature I also would like. :-) Some pointers for the interested reader: bug#24496: offloading

Re: Running untrusted code as root in a `guix system vm`?

2024-02-15 Thread Simon Tournier
Hi, On ven., 29 déc. 2023 at 23:40, Ben Weinstein-Raun wrote: > I'm considering running some software inside a VM created using `guix > system vm`. The easiest thing to do would be to run the virtualized > software as root. Normally I wouldn't think twice about that, but iiuc > the guest will

Re: How to use pipewire for jack application?

2024-02-15 Thread Simon Tournier
Hi, Well, I have missed if you get an reply. :-) On ven., 22 déc. 2023 at 04:52, Apoorv via wrote: > On system like Arch Linux, there is a package pipewire-jack which you > can install and then any app that can use jack automatically sees the > jack server running. On Guix there is no such

Re: Guix-packaged Emacs 29+ alpha-background parameter does not work

2024-02-15 Thread Simon Tournier
Hi, On mar., 02 janv. 2024 at 09:55, B D wrote: > I noticed that the Emacs 29.1 alpha-background frame transparency does not > work using the 'emacs' package in the standard guix channel. Some helpful > people in the #guix irc channel tested it for me on their system and ran > into the same

Re: guix on nfs based systems

2024-02-15 Thread Simon Tournier
Hi Étienne, I am very late to the party. :-) Well, there is a discussion about “guix shell”, “profile” and “guix time-machine”. Since these concepts can appear as first as alien, let me try a quick summary of my understanding. + “guix shell“ creates a temporary profile; + “guix time-machine”

Re: How to debug a failed build of rust application under cargo-build-system?

2024-02-15 Thread Tomas Volf
On 2024-02-15 15:42:51 +0100, Nils Landt wrote: > > Tomas Volf <~@wolfsden.cz> hat am 15.02.2024 14:26 CET geschrieben: > > > > > > On 2024-02-15 13:06:23 +, woshilapin wrote: > > > Hi, > > > > > > It is indeed a code error which looks weird. Are you sure the 2 > > > compilations compile the

Re: How to debug a failed build of rust application under cargo-build-system?

2024-02-15 Thread Nils Landt
> Tomas Volf <~@wolfsden.cz> hat am 15.02.2024 14:26 CET geschrieben: > > > On 2024-02-15 13:06:23 +, woshilapin wrote: > > Hi, > > > > It is indeed a code error which looks weird. Are you sure the 2 > > compilations compile the same source code? > > Well, technically I am not sure. I

Re: How to debug a failed build of rust application under cargo-build-system?

2024-02-15 Thread Tomas Volf
On 2024-02-15 13:06:23 +, woshilapin wrote: > Hi, > > It is indeed a code error which looks weird. Are you sure the 2 compilations > compile the same source code? Well, technically I am not sure. I ran the `guix import crate -r netavark' and used the output from that. My expectation was

Re: Help with channel build system and package

2024-02-15 Thread Jesse
About the warnings of invalid argument list: comment out the argument lists in the toolchain packages (I do not remember fully the names, I do not have acces to the big computer right now for easy reference). See how the change effects the build. I learned a lot by intentionally breaking code

Re: torbrowser

2024-02-15 Thread Clément Lassieur
Hi Gottfried, This is great! Thanks for letting me know. Kind regards, Clément On Thu, Feb 15, 2024, at 11:36 AM, Gottfried wrote: > Hi Clement, > > now after updating my manifest it worked: > It downloaded torbrowser additional to icecat and ungoogled-chromium > > > gfp@Tuxedo ~$ guix

How to debug a failed build of rust application under cargo-build-system?

2024-02-15 Thread Tomas Volf
Greetings, I am trying to package a rust application and the build fails. I am not sure how to debug that. When I try to compile the application using `cargo install', it does pass and build just fine. However, when I try to build the application (imported using the cargo importer) using `guix

Re: Guix Days: Patch flow discussion

2024-02-15 Thread Simon Tournier
Hi Steve, ( On a side note, the triage of old bugs is a similar problem. They are easy to find [2], read, check and send an email to 12...@debbugs.gnu.org does not appear to me an issue with any tool. For what it is worth and without any willing of being harsh, I am able

Re: Building a Docker image for GitLab-CI

2024-02-15 Thread Ludovic Courtès
Hi, Efraim Flashner skribis: > In the past I used a script to install guix using the shell script and > then ran guix pull before building my package. I suppose you could use > a Debian image and run 'guix pull' first before building something. I could… but that’d be cheating. :-) Ludo’.