!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

658 Members
Rust152 Servers

Load older messages


SenderMessageTime
8 Nov 2021
@legendofmiracles:matrix.orglegendofmiracles

Well, I did move it to nixpkgs now
Got it all working, but now I’m getting this error:


ab-street> error: failed to parse manifest at `/build/source/abstio/Cargo.toml`
ab-street> Caused by:
ab-street>   feature `edition2021` is required
ab-street>   consider adding `cargo-features = ["edition2021"]` to the manifest
ab-street> Traceback (most recent call last):
ab-street>   File "/nix/store/bxlx1dy64ywk6spy265jm53qz3a45yc9-cargo-vendor-normalise/bin/.cargo-vendor-normalise-wrapped", line 42, in <module>
ab-street>     main()
ab-street>   File "/nix/store/bxlx1dy64ywk6spy265jm53qz3a45yc9-cargo-vendor-normalise/bin/.cargo-vendor-normalise-wrapped", line 17, in main
ab-street>     assert list(data.keys()) == ["source"]
ab-street> AssertionError
20:30:36
@jonringer:matrix.orgjonringeryou need a rust compile 1.56+20:36:18
@jonringer:matrix.orgjonringerand the looks like Cargo.toml needs to be updated20:36:37
@legendofmiracles:matrix.orglegendofmiraclesThis is happening in staging-next, but my version is still 1.5220:37:06
@jonringer:matrix.orgjonringerwhich package?20:37:23
@legendofmiracles:matrix.orglegendofmiraclesrust20:37:30
@legendofmiracles:matrix.orglegendofmiraclesrustc, cargo, you name it20:37:38
@jonringer:matrix.orgjonringer
[12:37:15] jon@nixos ~/projects/nixpkgs (staging-next)
$ nix-build -A rustc
/nix/store/449lmdsx8dv2q5fn4xbkxk51d4cg2zih-rustc-1.56.1
20:37:42
@jonringer:matrix.orgjonringerdo you have an overlay?20:37:56
@legendofmiracles:matrix.orglegendofmiraclesOh, I want forward with your suggestion and am doing it in tree now20:38:15
@legendofmiracles:matrix.orglegendofmiracles* Oh, I went forward with your suggestion and am doing it in tree now20:38:24
@legendofmiracles:matrix.orglegendofmiracles
In reply to @jonringer:matrix.org
if you're hacking within nixpkgs. git rebase --onto=origin/staging-next HEAD~1
So it seem you are right, my rust version is still too old… But this command doesn’t do anything :confused:
20:46:38
@legendofmiracles:matrix.orglegendofmiraclesOnly merge conflicts20:49:42
@jonringer:matrix.orgjonringerthe command assumes you only want to bring over one commit20:53:45
@jonringer:matrix.orgjonringerbut it's also possible that staging-next might have conflicts20:53:56
@jonringer:matrix.orgjonringerit shouldn't do anything in the case that you're already on staging-next21:06:51
10 Nov 2021
@nbp:mozilla.orgnbp joined the room.13:34:03
11 Nov 2021
@dandellion:dodsorf.asDandellion joined the room.03:00:39
@griff79:matrix.orggriff79 joined the room.14:12:09
@mic92:nixos.devMic92 joined the room.16:17:28
@mic92:nixos.devMic92This room clearly needs a better logo.16:40:32
@yuka:yuka.devYuka (she/her)rustnix.png
Download rustnix.png
16:46:49
@yuka:yuka.devYuka (she/her)Download rustnix.xcf16:47:48
@mic92:nixos.devMic92I think we could post this in matrix-suggestions:nixos.org to make it offically16:50:10
@yuka:yuka.devYuka (she/her)feel free to forward it there16:50:27
@yuka:yuka.devYuka (she/her)or modify it16:50:37
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.16:57:33
@grahamc:nixos.org@grahamc:nixos.org Mic92: I think you can set the image now 16:57:39
Room Avatar Renderer.17:01:53
@lourkeur:nixos.devlourkeur (Nix OwO)rustnix.png
Download rustnix.png
17:18:56

There are no newer messages yet.


Back to Room ListRoom Version: 6