!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

701 Members
Rust158 Servers

Load older messages


SenderMessageTime
2 Feb 2025
@k900:0upti.meK900 We basically just need an implementation of nix hash that's outside of Nix 13:16:26
@k900:0upti.meK900Jade said she had something 13:16:40
@k900:0upti.meK900But I'm out of spoons to look more13:16:55
@niklaskorz:korz.devNiklas Korzyou probably already explained it somewhere, but what would be the reason to prefer C over Rust here?13:45:33
@niklaskorz:korz.devNiklas Korzseeing you already have rustc as dependency when using buildRustPackage anyway13:45:55
@niklaskorz:korz.devNiklas KorzI guess that would need to vendor all of its dependencies to not depend on itself, but that seems like a reasonable compromise13:46:55
@niklaskorz:korz.devNiklas Korzah, not so much if the whole code is meant to live in nixpkgs I guess...13:47:50
@niklaskorz:korz.devNiklas Korzalthough in that case we'd have Cargo.lock in-tree and can rely on cargo lock import13:50:35
@niklaskorz:korz.devNiklas Korzso no need to vendor dependencies after all13:50:42
@niklaskorz:korz.devNiklas Korz* although in that case we'd have Cargo.lock in-tree and can rely on import-cargo-lock13:52:21
@pederbs:pvv.ntnu.nopbsds changed their display name from pbsds to pbsds (FOSDEM).16:04:45
3 Feb 2025
@zimbatm:numtide.comJonas Chevalier changed their display name from Jonas Chevalier (FOSDEM) to Jonas Chevalier.08:23:57
@pederbs:pvv.ntnu.nopbsds changed their display name from pbsds (FOSDEM) to pbsds.16:25:17
4 Feb 2025
@nrbray:matrix.orgNigelI am a bitlost how to get a build --release. may I ask a noob queston, my cargo2nix flake no longer builds due to a dependency on rustc version 1.81 and adding that breaks it. I stumbed on "Riff" that build a debg version but cannot figure out a build --release from that. Sorry as it is not clear to me what the canonical approach should be!20:10:08
@nrbray:matrix.orgNigel * 20:10:18
@nrbray:matrix.orgNigel *

I am a bit lost how to get a build --release. may I ask a noob queston, my cargo2nix flake no longer builds due to a dependency on rustc version 1.81 and adding that breaks it. I stumbed on "Riff" that build a debg version but cannot figure out a build --release from that. Sorry as it is not clear to me what the canonical approach should be!

Update, this worked for me, but may I ask for a good starting point to learn anew?

# build
nix shell nixpkgs#cargo nixpkgs#gcc 
cargo build --release 

20:24:20
5 Feb 2025
@13k:matrix.org@13k:matrix.org left the room.07:34:29
@sandro:supersandro.deSandro 🐧Please give me a review on https://github.com/NixOS/nixpkgs/pull/37967118:44:20
6 Feb 2025
@tomasajt:matrix.orgTomaOpened https://github.com/NixOS/nixpkgs/pull/379841 for people who need to use proxies13:53:57
7 Feb 2025
@xiaoxiangmoe:matrix.org🐰 xiaoxiangmoe joined the room.08:53:44
@xiaoxiangmoe:matrix.org🐰 xiaoxiangmoehttps://github.com/NixOS/nixpkgs/pull/380035#discussion_r1946174099 I don't know why cargoHash diffrent in two PR08:54:10
@k900:0upti.meK900One uses fetchCargoVendor08:57:40
@k900:0upti.meK900One doesn't08:57:42
@k900:0upti.meK900You should use fetchCargoVendor08:57:46
@sandro:supersandro.deSandro 🐧Can someone help us with https://github.com/NixOS/nixpkgs/pull/373425 and rust nightly in deps?13:00:03
@chess7th:matrix.orgchess7th joined the room.14:55:45
@terrorjack:matrix.terrorjack.com@terrorjack:matrix.terrorjack.com left the room.22:28:04
@terrorjack:matrix.orgterrorjack joined the room.22:45:15
8 Feb 2025
@terrorjack:matrix.orgterrorjack set a profile picture.02:24:20
@terrorjack:matrix.orgterrorjack removed their profile picture.02:24:55

Show newer messages


Back to Room ListRoom Version: 6