Re: guix fails to remove the rust

2022-08-24 Thread Tobias Geerinckx-Rice
>something with ca-certificate? You read between the lines a little too literally :-) >guix remove: warning: at least 0.0 MB needed but only 0.0 MB available in >/gnu/store >building CA certificate bundle... >|note: build failure may have been caused by lack of free disk space You need to GC, o

Re: guix fails to remove the rust

2022-08-24 Thread Julien Lepiller
Generally, the actual error is the first one, not the last one: "build failure may have been caused by lack of free disk space" I suggest you run "guix gc -F 1M" which should free up just enough space for now :) Le 25 août 2022 02:35:22 GMT+02:00, jgart a écrit : >guix remove rust

Re: guix-pack on package record

2022-08-24 Thread Olivier Dion via
On Mon, 22 Aug 2022, zimoun wrote: > Hi Olivier, > and then ’bundle-package’ fails with: > > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > error: content: unbound variable > > >> >> (run-with-store (open-connection) >> (mlet %store-monad ((drv (apply self-contained-tarbar >

guix fails to remove the rust

2022-08-24 Thread jgart
guix remove rust The following package will be removed: rust 1.57.0 The following derivation will be built: /gnu/store/gq8d0nis2n1ni425yglwq70dinngsp9s-profile.drv guix remove: warning: at least 0.0 MB needed but only 0.0 MB available in /gnu/store building CA certificate bun

Re: Rust Packaging without crates.io

2022-08-24 Thread Jonathan Scoresby
> On 08/24/2022 11:08 MDT ( wrote: > > You could add a version constraint to it if you like; what's the version > in the dependency's cargo.toml? It's rev={commit} -Jonathan

Re: Rust Packaging without crates.io

2022-08-24 Thread (
On Wed Aug 24, 2022 at 6:11 PM BST, Jonathan Scoresby wrote: > It's rev={commit} Try visiting that commit in the dep's repo and see what version it's at, then use an appropriate semver spec instead of `*`. -- (

Re: Rust Packaging without crates.io

2022-08-24 Thread (
On Wed Aug 24, 2022 at 6:05 PM BST, Jonathan Scoresby wrote: > Also, it does not check the version. If the main package changed to depend on > a newer version, the suggested more of creating a package definition would > allow one to build the new package using the outdated dependency. You could

Re: Rust Packaging without crates.io

2022-08-24 Thread Jonathan Scoresby
I mean that the referenced package could be anything. I feel like guix should somehow verify that the referenced package was built from the source specified in the cargo.toml. Also, it does not check the version. If the main package changed to depend on a newer version, the suggested more of cr

Re: Rust Packaging without crates.io

2022-08-24 Thread (
Not entirely sure what you mean by "checking if it's correct", but the entire cargo-build-system is something of a hack. That will change with antioxidant-build-system, hopefully coming soon to a core-updates near you™. :) -- (

Re: Rust Packaging without crates.io

2022-08-24 Thread Jonathan Scoresby
Yes. That is what I was trying to expalain. I will try that out, though I must say that this solution feels a little bit hacky. Shouldn't guix be checking somehow that the referenced package is correct? -Jonathan

Re: Rust Packaging without crates.io

2022-08-24 Thread (
Ah, I think this is because Cargo's vendor directory feature substitutes a directory specifically for the crates.io registry. Since only a Git dependency is specified, it doesn't even bother looking in the directory. Just patch the line in the crates.io file to say something like: pkg = "*"

Re: Rust Packaging without crates.io

2022-08-24 Thread Jonathan Scoresby
> On 08/24/2022 10:06 MDT ( wrote: > > > Hi Jonathon, > > You can just write a normal package for a crate on Git, replacing the source > with > something like: > > (origin > (method git-fetch) > (uri (git-reference > (url "...") > (commit (string-append "v" ve

Re: Rust Packaging without crates.io

2022-08-24 Thread (
Hi Jonathon, You can just write a normal package for a crate on Git, replacing the source with something like: (origin (method git-fetch) (uri (git-reference (url "...") (commit (string-append "v" version (file-name (git-file-name name version)) (sha256

Guix Network Router?

2022-08-24 Thread Peter Polidoro
Does anyone have any examples of using Guix System as a network router? I am hoping to replace some Ubuntu server routers with Guix. I found this post: https://timmydouglas.com/2021/02/07/guix-router.html I would prefer, though, not to need custom packages or channels, if possible. Thanks!

Re: What Python IDE are you using?

2022-08-24 Thread Luis Felipe
On Tuesday, August 23rd, 2022 at 16:52, Luis Felipe wrote: > Hi raingloom, > > On Tuesday, August 23rd, 2022 at 11:34, Csepp raingl...@riseup.net wrote: > > > kakoune + kak-lsp + python-lsp-server + python-black + mypy, maybe a > > kakoune editorconfig plugin too > > > > I load it in a gui

Re: What Python IDE are you using?

2022-08-24 Thread Luis Felipe
On Wednesday, August 24th, 2022 at 01:09, Fredrik Salomonsson wrote: > > Yeah, sounds like something in your config is breaking the autocomplete. > I don't use company anymore but instead I use corfu. I am using guix > 92b25a0 on a foreign distro, with emacs-eglot@1.8 and emacs-corfu@0.26. > An

Rust Packaging without crates.io

2022-08-24 Thread Jonathan Scoresby
I am trying to build a package definition for a rust project that is not on crates.io (package A). It has a dependency for another rust project that is also not hosted on crates.io (package B). How do I get guix to reference the guix package B instead of trying to fetch it from the source reposi