A superflat vector drawing of a ceramic throne.
Kaka Farm!

The Kaka Farm Blog!

I Was Trying To Write A Guix Package Definition For MS-Edit.Exe, But I Had Problems.

Date published:

Sigh. I was trying to write a guix package definition for edit.exe and I had problems.

First of all, my cargo was not new enough, so I had to add strange runes into the Cargo.toml file.

editexe@computor ~/edit [env]$ cargo check
error: failed to parse manifest at `/home/editexe/edit/Cargo.toml`

Caused by:
  feature `edition2024` is required

  The package requires the Cargo feature called `edition2024`, but that feature is not stabilized in this version of Cargo (1.82.0).
  Consider adding `cargo-features = ["edition2024"]` to the top of Cargo.toml (above the [package] table) to tell Cargo you are opting in to use t  See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2024 for more information about the status of this feature.

Then this insurmountable problem appeared:

editexe@computor ~/edit [env]$ cargo check
    Updating crates.io index
  Downloaded libc v0.2.172
  Downloaded 1 crate (791.6 KB) in 0.59s
error: rustc 1.82.0 is not supported by the following packages:
  edit@1.1.0 requires rustc 1.87
  edit@1.1.0 requires rustc 1.87
  edit@1.1.0 requires rustc 1.87
  edit@1.1.0 requires rustc 1.87

Well, that's about that. I do not have a new enough Rustlang version.

Please someone remind me to have another look at this when rustc version 1.87 comes to Guix?

Oh, and that last extra newline? I did not put it there. It was part of the output. (that reminds me that I should put source boxes inside boxes in the site's CSS because I cannae see it on the site unless I look at the HTML source code…)

BYE!!!11

Tag feeds:

Kaka Farm by Yuval Langer is licensed under Attribution-ShareAlike 4.0 International