!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

473 Members
Rust115 Servers

Load older messages


SenderMessageTime
8 Sep 2024
@k1gen:matrix.orgolkyes11:05:48
@k900:0upti.meK900Then you should probably not do that11:07:21
@k900:0upti.meK900And report the issue upstream11:07:24
@k1gen:matrix.orgolk
In reply to @k900:0upti.me
And report the issue upstream
ah, do it's not a nix thing?
11:07:50
@k1gen:matrix.orgolk
In reply to @k900:0upti.me
Then you should probably not do that
I need the nightly toolchain to build std
11:08:08
@k900:0upti.meK900It is not a nix thing11:08:23
@k900:0upti.meK900And you do not need to build std11:08:28
@k1gen:matrix.orgolk

probably, but I want the executable to be small. I don't need it, I want it

11:09:21
@k1gen:matrix.orgolk
In reply to @k900:0upti.me
It is not a nix thing
ok, then I'll report this upstream. thanks
11:09:35
9 Sep 2024
@pandapip-1:matrix.orgPandapip1 joined the room.03:43:32
@julius:mtx.liftm.deˈt͡sɛːzaɐ̯
In reply to @k1gen:matrix.org

probably, but I want the executable to be small. I don't need it, I want it

You could use an older nightly, or make a release version predend it's a nightly with the right flags.
05:17:03
@k1gen:matrix.orgolk

why isn't

        devShells.default = craneLib.devShell {
          toolchain = fenix.packages.${system}.default.toolchain;
        };

installing neither clippy nor rustfmt?

09:27:34
@k900:0upti.meK900Because those aren't part of the default toolchain?09:30:37
@k1gen:matrix.orgolk The default profile includes all of components in the minimal profile, and adds rust-docs, rustfmt, and clippy. This profile will be used by rustup by default, and it’s the one recommended for general use.: https://rust-lang.github.io/rustup/concepts/profiles.html 09:32:23
@k1gen:matrix.orgolk toolchain = fenix.packages.${system}.complete.withComponents [ "cargo" "clippy" "rust-src" "rustc" "rustfmt" ]; doesn't work as well 09:36:09
@declension:matrix.orgdeclension joined the room.16:04:03
@cafkafk:gitter.imcafkafkiirc crane does include those17:05:50
@cafkafk:gitter.imcafkafk¯\_(ツ)_/¯17:05:54
@cafkafk:gitter.imcafkafk

idk may be hallucinating, I have something like this

        craneLibLLvmTools = craneLib.overrideToolchain (
          fenix.packages.${system}.complete.withComponents [
            "cargo"
            "llvm-tools"
            "rustc"
          ]
        );
17:06:51
@cafkafk:gitter.imcafkafkyou shouldn't need to specify the toolchain in the craneLib.devShell either I think17:08:04
@cafkafk:gitter.imcafkafk

https://crane.dev/API.html?highlight=craneLib.dev#cranelibdevshell

Note that the current toolchain's cargo, clippy, rustc, and rustfmt packages will automatically be added to the devShell.

17:08:12
@kiike:matrix.orgEnric Morales joined the room.17:41:36
@lulu-berlin:matrix.orgLulu joined the room.20:31:33
10 Sep 2024
@adis:blad.is@adis:blad.is left the room.09:42:36
@artur:glasgow.social(artur 'manuel) changed their display name from (lambda (u) (format nil "~A lost their email!" u)) "Artur Manuel" to Artur Manuel (on break).17:32:11
@artur:glasgow.social(artur 'manuel) changed their profile picture.17:34:33
@artur:glasgow.social(artur 'manuel) changed their display name from Artur Manuel (on break) to (lambda (u) (format nil "~A is not using Matrix right now." u)) "Artur Manuel".17:36:12
@creepinson:matrix.orgTheo Paris Am I correct that the only way to patch rustc outside of nixpkgs is to copy pkgs/development/compilers/rust/1_80.nix outside of nixpkgs to override rustcPatches? 20:20:12
@creepinson:matrix.orgTheo Paris * Am I correct that the only way to patch rustc outside of nixpkgs is to copy pkgs/development/compilers/rust/1_80.nix toverride rustcPatches? 20:20:20
@creepinson:matrix.orgTheo Paris * Am I correct that the only way to patch rustc outside of nixpkgs is to copy pkgs/development/compilers/rust/1_80.nix to override rustcPatches? 20:20:29

Show newer messages


Back to Room ListRoom Version: 6