!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

465 Members
Rust111 Servers

Load older messages


SenderMessageTime
17 Oct 2024
@k900:0upti.meK900There is a flag for it IIRC06:05:34
@tomasajt:matrix.orgTomaGoing back to what I talked about yesterday, I realize now that still requiring outputHashes would no longer be required, assuming that the sha-revision of the git repository is a good enough for reproducible output. This new fetcher would essentially just be an alternative implementation of the vendoring logic, but written by us (just like with importCargoLock), meaning that upstream can't mess up our hashes. Is my assumption correct?10:47:23
@tomasajt:matrix.orgToma * Going back to what I talked about yesterday, I realize now that still requiring outputHashes would no longer be required, assuming that the sha-revision of the git repository is good enough for reproducible output. This new fetcher would essentially just be an alternative implementation of the vendoring logic, but written by us (just like with importCargoLock), meaning that upstream can't mess up our hashes. Is my assumption correct?11:11:14
@ultranix:matrix.orgtgunnoe

Has anyone seen this error before? I think -sys crates usually fail at building due to local system deps missing right

= note: ld: library not found for -liconv
          clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: could not compile `zstd-sys` (build script) due to 1 previous error
15:32:24
@ultranix:matrix.orgtgunnoe *

Has anyone seen this error before? I think -sys crates usually fail at building due to local system deps missing right

= note: ld: library not found for -liconv
          clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: could not compile `zstd-sys` (build script) due to 1 previous error

on macOS anyways

15:33:07
@emilazy:matrix.orgemily you need libiconv in buildInputs for approximately 1 to 2 more weeks 15:36:40
@ultranix:matrix.orgtgunnoeinteresting. thank you15:38:01
@qyliss:fairydust.spaceAlyssa RossDoes the new Darwin stuff build libiconv into libc?15:39:56
@k900:0upti.meK900Into stdenv15:43:25
@k900:0upti.meK900Well technically into the SDKs I think15:43:37
@k900:0upti.meK900But you get an SDK with the stdenv so15:43:42
@emilazy:matrix.orgemilyyeah it's not part of libc but you get it free with the purchase of any SDK15:50:52
@k900:0upti.meK900 @Alyssa Ross @aloisw:kde.org so thoughts on the linux-firmware abomination 15:53:03
@qyliss:fairydust.spaceAlyssa Rossseems fine, but not sure what it has to do with Rust :P16:06:07
@k900:0upti.meK900Ugh16:10:16
@ultranix:matrix.orgtgunnoeRedacted or Malformed Event17:28:33
@bendlas:matrix.orgbendlas changed their profile picture.17:37:47
@tomasajt:matrix.orgTomacreated a PR with the custom vendoring logic: https://github.com/NixOS/nixpkgs/pull/349360 it should work in most cases, but I haven't implemented a way to use other registries nor sparse dependencies, though these are rare21:36:27
18 Oct 2024
@emilazy:matrix.orgemily
In reply to @emilazy:matrix.org
this may cause havoc for us soon: https://github.com/rust-lang/rust/pull/129687
not sure if this is in 1.82
00:30:14
@emilazy:matrix.orgemilybut looks like we might have to deal with it soon00:30:23
@sammy:cherrykitten.devSammy (It/Its) left the room.08:39:10
19 Oct 2024
@hive:the-apothecary.clubLi-ion changed their display name from ion to Li-ion.08:12:17
@nakibrayan:matrix.imRayan Nakib (ريان نقيب) joined the room.08:14:16
@jwillikers:matrix.orgjwillikers joined the room.12:07:14
@mwoodpatrickmx:matrix.orgmwoodpatrickmx joined the room.16:54:35
@steveej0:matrix.orgsteveejwhat crate is best suited to iterate over a nix attrset in rust?20:20:16
@k900:0upti.meK900Dump your attrset to JSON 20:20:39
@k900:0upti.meK900And then use any JSON librqry 20:20:47
@k900:0upti.meK900* And then use any JSON library20:20:55
@k900:0upti.meK900Actually evaluating Nix in Rust correctly is an open problem 20:21:07

Show newer messages


Back to Room ListRoom Version: 6