Re: Welcome New Committer Ekaitz!

2024-11-26 Thread Ian Eure
Hi Ekaitz,

On Tue, Nov 26, 2024, at 12:25 PM, Ekaitz Zarraga wrote:
> On 2024-11-26 13:11, Efraim Flashner wrote:
>> I'd like to welcome Ekaitz as our newest committer to Guix!
>> 
>> Ekaitz, why don't you introduce yourself again, since it's been a while
>> 
>
>
> Yes!
>

Congratulations!

  -- Ian



Re: Blog post: Guix/Hurd on Real Iron

2024-11-26 Thread Mark H Weaver
Hi Janneke,

Janneke Nieuwenhuizen  writes:

> Now that the last (!) core-updates branch has been merged, Guix/Hurd on
> real iron has become a reality.  It's still experimental and certainly
> not for daily use, but exciting for sure!  Read all about it in this new
> post:
>
> https://guix.gnu.org/en/blog/2024/hurd-on-thinkpad/

This is great news!  I still have my 32-bit Thinkpad X60 with Libreboot,
although I haven't used it in several years.  It might be time to
resurrect it.

Thanks to everyone who helped make this happen.  It's quite a milestone.

  Mark



Welcome New Committer Ekaitz!

2024-11-26 Thread Efraim Flashner
I'd like to welcome Ekaitz as our newest committer to Guix!

Ekaitz, why don't you introduce yourself again, since it's been a while

-- 
Efraim Flashner  אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted


signature.asc
Description: PGP signature


Re: Welcome New Committer Ekaitz!

2024-11-26 Thread Ekaitz Zarraga

On 2024-11-26 13:11, Efraim Flashner wrote:

I'd like to welcome Ekaitz as our newest committer to Guix!

Ekaitz, why don't you introduce yourself again, since it's been a while




Yes!

Thanks, Efraim!

So yeah, I'm Ekaitz Zarraga, my IRC nickname is just `ekaitz`, and I've 
been contributing to Guix for long time directly and also tangentially.
Maybe you know me because I've been working during the last years on the 
RISC-V bootstrap, porting old compilers to RISC-V so we could use them 
to bootstrap Guix and other distros (there are some talks out there in 
the wild about it, if you want to see my face and listen to my broken 
english). On Guix, I started the `zig-build-system` and worked in many 
random packages since 2019 (5 years already!).


I'm a freelance engineer so I have some freedom to spend time on Guix 
and other free software projects, like Guile (we need to talk about 
that) and many more. Feel free to ping me anytime!


Thanks all!

Ekaitz



Re: Problem building rust application

2024-11-26 Thread David Elsing
Hi,

Andreas Enge  writes:

> Is it a mistake in our build system that it does not realise we are not
> on macos? Apart from that, there are other specific macos and windows
> dependencies that could probably be dropped.

That is a known issue with Cargo [1], optional dependencies which are
not used need to present anyway. It is also the reason why there are
many Guix packages that are only useful for macOS or Windows IIUC.
kanata is not a library, so removing the lines in Cargo.toml like Efraim
suggested is probably easier (otherwise it would have to be done as a
snippet or patch). I didn't manage to do it with substitute* though,
because that does the replacements line by line.

I also noticed that version 1.7.0-prerelease-2 depends on Rust 1.79,
where the behavior of temporary lifetimes in `if` and `match`
expressions was changed [2]. With version 1.7.0-prelease-1 (the packages
are attached), the build was however sucessful with the default Rust
version in Guix (1.77). The kanata-* crates do not follow semver, so I
had to match their versions.

David

[1] https://github.com/rust-lang/cargo/issues/11352
[2] https://releases.rs/docs/1.79.0/

;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2024 Andreas Enge 
;;; Copyright © 2024 David Elsing 
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see .

(define-module (kanata)
   #:use-module (guix build-system cargo)
   #:use-module (guix download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (gnu packages)
   #:use-module (gnu packages crates-apple)
   #:use-module (gnu packages crates-graphics)
   #:use-module (gnu packages crates-io)
   #:use-module (gnu packages crates-windows)
)

(define-public rust-time-macros-0.2
  (package
(name "rust-time-macros")
(version "0.2.18")
(source
 (origin
   (method url-fetch)
   (uri (crate-uri "time-macros" version))
   (file-name (string-append name "-" version ".tar.gz"))
   (sha256
(base32 "1kqwxvfh2jkpg38fy673d6danh1bhcmmbsmffww3mphgail2l99z"
(build-system cargo-build-system)
(arguments
 `(#:skip-build? #t
   #:cargo-inputs (("rust-num-conv" ,rust-num-conv-0.1)
   ("rust-time-core" ,rust-time-core-0.1
(home-page "https://github.com/time-rs/time";)
(synopsis
 "Procedural macros for the time crate.
This crate is an implementation detail and should not be relied upon 
directly.")
(description
 "This package provides Procedural macros for the time crate.  This crate 
is an implementation detail
and should not be relied upon directly.")
(license (list license:expat license:asl2.0

(define-public rust-time-0.3
  (package
(name "rust-time")
(version "0.3.36")
(source
 (origin
   (method url-fetch)
   (uri (crate-uri "time" version))
   (file-name (string-append name "-" version ".tar.gz"))
   (sha256
(base32 "11g8hdpahgrf1wwl2rpsg5nxq3aj7ri6xr672v4qcij6cgjqizax"
(build-system cargo-build-system)
(arguments
 `(#:skip-build? #t
   #:cargo-inputs (("rust-deranged" ,rust-deranged-0.3)
   ("rust-itoa" ,rust-itoa-1)
   ("rust-js-sys" ,rust-js-sys-0.3)
   ("rust-libc" ,rust-libc-0.2)
   ("rust-num-conv" ,rust-num-conv-0.1)
   ("rust-num-threads" ,rust-num-threads-0.1)
   ("rust-powerfmt" ,rust-powerfmt-0.2)
   ("rust-quickcheck" ,rust-quickcheck-1)
   ("rust-rand" ,rust-rand-0.8)
   ("rust-serde" ,rust-serde-1)
   ("rust-time-core" ,rust-time-core-0.1)
   ("rust-time-macros" ,rust-time-macros-0.2
(home-page "https://time-rs.github.io";)
(synopsis
 "Date and time library. Fully interoperable with the standard library. 
Mostly compatible with #![no_std]")
(description
 "This package provides Date and time library.  Fully interoperable with 
the standard library.  Mostly
compatible with #![no_std].")
(license (list license:expat license:asl2.0

(define-public rust-stretch-0.3
  (package
(name "rust-stretch")
(version "0.3.2")
(source
 (origin
   (method url-fetch)
   (uri (crate-uri "stretch" v