!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

465 Members
Rust111 Servers

Load older messages


SenderMessageTime
17 Oct 2024
@k900:0upti.meK900 We can --remap-path-prefix 05:59:23
@k900:0upti.meK900As it says05:59:25
@emilazy:matrix.orgemily yeah. do we always know what the store path to rust-src will be though? 06:02:16
@k900:0upti.meK900Well Rust knows06:04:04
@k900:0upti.meK900Presumably06:04:06
@k900:0upti.meK900So we can just ask it06:04:08
@emilazy:matrix.orgemilyfair06:05:00
@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

Show newer messages


Back to Room ListRoom Version: 6