!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

588 Members
Rust130 Servers

Load older messages


SenderMessageTime
24 Jun 2025
@qyliss:fairydust.spaceAlyssa RossI'm very tired so probably not the best time for me to be thinking about this but can we just disable build.optimized-compiler-builtins?19:51:54
@rosssmyth:matrix.orgrosssmyth I hit https://github.com/NixOS/nixpkgs/issues/15495 today. Does anyone know why this occurs? I was trying to build a subproject that is a cargo-fuzz project, and so the source root is a subdirectory called fuzz. chmod then complains about Operation not Permitted. 20:05:19
@emilazy:matrix.orgemilyyes, it's even per-platform now20:13:31
@qyliss:fairydust.spaceAlyssa RossCool20:14:08
@qyliss:fairydust.spaceAlyssa RossLet's do that then20:14:15
25 Jun 2025
@freexploit:trafkin.comm0lok joined the room.16:25:58
26 Jun 2025
@freexploit:trafkin.comm0lok👋04:03:09
@freexploit:trafkin.comm0lok I'm getting this error when trying to compile tikv-jemallocator https://privatebin.net/?ddfcf4423fa77bbe#3Uq5SJnQnPtX7AwbUNzgw4M6M5kEffEEsbrtRczeEM5G 04:04:14
@freexploit:trafkin.comm0lokit says the C compiler cannot buidl the project04:04:31
@freexploit:trafkin.comm0lok I can build the actual crate with nix build 04:04:55
@freexploit:trafkin.comm0lokbut when I do it on the devShell I get that error04:05:05
@freexploit:trafkin.comm0lok

this is the devShell:

        devShells.default = (
          let
            moldDevShell = craneLib.devShell.override {
              # For example, use the mold linker
              mkShell = pkgs.mkShell.override {
                stdenv = pkgs.stdenvAdapters.useMoldLinker pkgs.clangStdenv;
              };
            };
          in
            moldDevShell {
              RUSTC_WRAPPER = "${pkgs.sccache}/bin/sccache";
              CARGO_BUILD_TARGET = "x86_64-unknown-linux-musl";
              CARGO_BUILD_RUSTFLAGS = "-C target-feature=+crt-static -C linker=clang -C link-arg=-fuse-ld=${pkgs.mold}/bin/mold";
              inherit (self.checks.${system}.pre-commit-check) shellHook;

              nativeBuildInputs = with pkgs; [pkg-config clang];

              buildInputs = [
                (rustVersion.override {
                  extensions = ["rust-src" "rust-analyzer" "rustc" "cargo" "clippy"];
                })
                self.checks.${system}.pre-commit-check.enabledPackages
                grpc_health_probe
              ];

              packages = [
                pkgs.upx
                pkgs.coreutils
                pkgs.rust-analyzer
                pkgs.skopeo
                pkgs.protobuf
                pkgs.systemfd
                pkgs.bacon
                pkgs.openssl
                pkgs.skopeo
                pkgs.grpcurl
                pkgs.sccache
              ];
            }
        )
04:05:29
@kernz9:matrix.orgkernz9 joined the room.05:39:18
@blaxxmith:matrix.orgblaxxmith joined the room.09:10:12
27 Jun 2025
@redstone-menace:matrix.orgR̴̨͕͇͍̞̮̐̅͆̌̀̉̐͋̈́̃̀͒́̎̅̚̚̚͠͝Ĕ̵̡̛͖͖̟̙̫̱͈̘̞̭͍͍͑̌̄͑̓̋̓̀̈̏̈́͊̇͊͆̉͂̏̀̃̚͘͝͝ͅͅD̶̡̢͔̱̖̮͙͉̘̺͓͍̩̮͈͍͗̃̀̏͌͘͜ͅŚ̸̬̭̯̬͙͇͓̬̩̳̤͚͓̤̩̺͉͖̉͛̓̿̎͊̿̆́̐͂̇͌̄̇̓͘ͅͅT̴̞̫̘̝͇͔̟̪̪̦͂̔̎̀̎ͅŎ̷̡̬̹̪͈̭̣͈̭̭͉̦̖̝̘̪͖͔̥̦̘̻̳Ṋ̶̛̫͈̳̘͚̜̔̋͆̅̈́͊̑͊̉̌̈́̾͑̈́̚ͅË̸̡̨̨̛͇̜̖͔͖̻̟̗̠̙͓̘̗̥͉͇̜͑͆͊͑͑̀̓͒͜͝͝ changed their display name from Redstone to R̴̨͕͇͍̞̮̐̅͆̌̀̉̐͋̈́̃̀͒́̎̅̚̚̚͠͝Ĕ̵̡̛͖͖̟̙̫̱͈̘̞̭͍͍͑̌̄͑̓̋̓̀̈̏̈́͊̇͊͆̉͂̏̀̃̚͘͝͝ͅͅD̶̡̢͔̱̖̮͙͉̘̺͓͍̩̮͈͍͗̃̀̏͌͘͜ͅŚ̸̬̭̯̬͙͇͓̬̩̳̤͚͓̤̩̺͉͖̉͛̓̿̎͊̿̆́̐͂̇͌̄̇̓͘ͅͅT̴̞̫̘̝͇͔̟̪̪̦͂̔̎̀̎ͅŎ̷̡̬̹̪͈̭̣͈̭̭͉̦̖̝̘̪͖͔̥̦̘̻̳Ṋ̶̛̫͈̳̘͚̜̔̋͆̅̈́͊̑͊̉̌̈́̾͑̈́̚ͅË̸̡̨̨̛͇̜̖͔͖̻̟̗̠̙͓̘̗̥͉͇̜͑͆͊͑͑̀̓͒͜͝͝.00:54:17
@redstone-menace:matrix.orgR̴̨͕͇͍̞̮̐̅͆̌̀̉̐͋̈́̃̀͒́̎̅̚̚̚͠͝Ĕ̵̡̛͖͖̟̙̫̱͈̘̞̭͍͍͑̌̄͑̓̋̓̀̈̏̈́͊̇͊͆̉͂̏̀̃̚͘͝͝ͅͅD̶̡̢͔̱̖̮͙͉̘̺͓͍̩̮͈͍͗̃̀̏͌͘͜ͅŚ̸̬̭̯̬͙͇͓̬̩̳̤͚͓̤̩̺͉͖̉͛̓̿̎͊̿̆́̐͂̇͌̄̇̓͘ͅͅT̴̞̫̘̝͇͔̟̪̪̦͂̔̎̀̎ͅŎ̷̡̬̹̪͈̭̣͈̭̭͉̦̖̝̘̪͖͔̥̦̘̻̳Ṋ̶̛̫͈̳̘͚̜̔̋͆̅̈́͊̑͊̉̌̈́̾͑̈́̚ͅË̸̡̨̨̛͇̜̖͔͖̻̟̗̠̙͓̘̗̥͉͇̜͑͆͊͑͑̀̓͒͜͝͝ changed their profile picture.00:55:39
@psibi:matrix.org@psibi:matrix.org left the room.09:38:19
@nbp:mozilla.orgnbp changed their display name from nbp to nbp — PTO.17:26:33
@emilazy:matrix.orgemilyhttps://guix.gnu.org/en/blog/2025/a-new-rust-packaging-model/ it appears Guix has implemented almost exactly my Rust packaging proposal18:43:11
@emilazy:matrix.orgemily(coming from the other end of fully separate full fat Rust library packages though, rather than from the other end of opaque FOD summaries that we're at)18:44:41
@k900:0upti.meK900They're doing multiple versions of crates though?18:45:33
@k900:0upti.meK900I think18:45:35
@emilazy:matrix.orgemilythat was also my proposal18:46:04
@emilazy:matrix.orgemilywell, deduplicating where possible within one SemVer major - maybe they're not doing that part18:46:27
@k900:0upti.meK900Yeah I don't think they are18:46:44
@k900:0upti.meK900I'm mostly worried about the duplicating dependency resolution part18:46:57
@emilazy:matrix.orgemily cargo_metadata helps somewhat with that 18:49:12
@emilazy:matrix.orgemilythough not entirely18:49:17
28 Jun 2025
@dramforever:matrix.orgdramforever joined the room.07:32:05
@dramforever:matrix.orgdramforever we should probably do #399014 for rust. problem: how do we check for target is not x86(-32)? 07:32:59

Show newer messages


Back to Room ListRoom Version: 6