!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

700 Members
Rust155 Servers

Load older messages


SenderMessageTime
15 May 2025
@k900:0upti.meK900
In reply to @staberinde:matrix.org

Currently I have

borg-tui = pkgs.rustPlatform.buildRustPackage (finalAttrs: rec {
    pname = "borgtui";
    version = "fdcf13ba063a9e8516e5bc5f679af5504304819d";
    src = pkgs.fetchFromGitHub {
      owner = "dpbriggs";
      repo = pname;
      rev = version;
      sha256 = "7UbwW53HTM4oTbDnNruwjtF0KrnhoiCYXWl0CbXfMSk=";
    };
    nativeBuildInputs = [
      pkgs.pkg-config
    ];
    bulldInputs = [
      pkgs.fuse3
    ];
    cargoHash = "sha256-7F87unpr3OoY9SFBS2iwKhk2khYKH5w5xaENHUwnqC0=";
  });
Fuck this
21:10:06
@k900:0upti.meK900You misspelled buildInputs21:10:12
@k900:0upti.meK900This is your entire problem 21:10:18
@staberinde:matrix.orgstaberindeoh FFS21:10:26
@staberinde:matrix.orgstaberindegood spot21:11:04
@staberinde:matrix.orgstaberindetold you it was a stuoid question...21:11:19
@staberinde:matrix.orgstaberinde* told you it was likely to be a stupid question...21:31:36
17 May 2025
@terrorjack:matrix.orgterrorjack set a profile picture.08:53:43
@oddlama:matrix.orgoddlama changed their display name from oddlama to Malte.20:12:45
@mjolnir:nixos.orgNixOS Moderation Bot banned @mightyiam:matrix.orgShahar "Dawn" Or (persistent time-wasting).23:30:23
18 May 2025
@sneid:matrix.org@sneid:matrix.org left the room.10:34:33
@makuru:catgirl.cloudMakuru joined the room.11:10:30
@makuru:catgirl.cloudMakuru Is it possible to make rust builds with cargo, reproducible? So that I get the exact same binary? 11:13:02
@qyliss:fairydust.spaceAlyssa Rosswhat are you finding not to be reproducible?11:13:28
@makuru:catgirl.cloudMakuru I haven't tested it yet but are there compiler flags or whatever I need to make a nix build reproducible? 11:14:16
@qyliss:fairydust.spaceAlyssa RossGenerally we aim for reproducibility by default, but can't guarantee it, so you'll have to test to make sure.11:14:46
@makuru:catgirl.cloudMakuru Also, can I make my flake check the output? Should I make a post install hook? 11:16:25
@k900:0upti.meK900What do you mean by "check the output"? 11:17:02
@makuru:catgirl.cloudMakuru
In reply to @k900:0upti.me
What do you mean by "check the output"?
I mean to test it with a checksum.
11:18:38
@makuru:catgirl.cloudMakuru So others know that the build worked. 11:18:57
@k900:0upti.meK900Uhh would not recommend 11:19:09
@k900:0upti.meK900Unless you want to update that checksum every time 11:19:18
@k900:0upti.meK900For every architecture 11:19:22
@makuru:catgirl.cloudMakuru It should error, if the flake output is not the same. 11:19:24
@makuru:catgirl.cloudMakuru
In reply to @k900:0upti.me
For every architecture
Oh yeah, oof.
11:19:31
@k900:0upti.meK900And your source for the checksum is "trust me bro" anyway 11:19:32
@k900:0upti.meK900Like, the purpose of reproducible builds is for others to verify that the binary they downloaded corresponds to the source 11:20:09
@makuru:catgirl.cloudMakuruYeah11:20:18
@k900:0upti.meK900If you don't publish binaries, it doesn't do anything 11:20:19
@k900:0upti.meK900And if you do, you don't need a checksum 11:20:26

Show newer messages


Back to Room ListRoom Version: 6