Sender | Message | Time |
---|---|---|
8 Sep 2024 | ||
olk | probably, but I want the executable to be small. I don't need it, I want it | 11:09:21 |
olk | In reply to @k900:0upti.meok, then I'll report this upstream. thanks | 11:09:35 |
9 Sep 2024 | ||
Pandapip1 joined the room. | 03:43:32 | |
ˈt͡sɛːzaɐ̯ | In reply to @k1gen:matrix.orgYou could use an older nightly, or make a release version predend it's a nightly with the right flags. | 05:17:03 |
olk | why isn't
installing neither | 09:27:34 |
K900 | Because those aren't part of the default toolchain? | 09:30:37 |
olk | 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 |
olk | toolchain = fenix.packages.${system}.complete.withComponents [ "cargo" "clippy" "rust-src" "rustc" "rustfmt" ]; doesn't work as well | 09:36:09 |
declension joined the room. | 16:04:03 | |
cafkafk | iirc crane does include those | 17:05:50 |
cafkafk | ¯\_(ツ)_/¯ | 17:05:54 |
cafkafk | idk may be hallucinating, I have something like this
| 17:06:51 |
cafkafk | you shouldn't need to specify the toolchain in the craneLib.devShell either I think | 17:08:04 |
cafkafk | https://crane.dev/API.html?highlight=craneLib.dev#cranelibdevshell
| 17:08:12 |
Enric Morales joined the room. | 17:41:36 | |
Lulu joined the room. | 20:31:33 | |
10 Sep 2024 | ||
@adis:blad.is left the room. | 09:42:36 | |
(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 'manuel) changed their profile picture. | 17:34:33 | |
(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 | |
Theo 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 |
Theo 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 |
Theo 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 |
Alyssa Ross | You should be able to overrideAttrs the unwrapped Rust compiler | 20:21:28 |
Theo Paris | How do I override the unwrapped rust compiler though? rustc-unwrapped doesn't seem to exist | 20:22:10 |
Alyssa Ross |
| 20:22:11 |
Theo Paris | Oh | 20:22:19 |
11 Sep 2024 | ||
Enric Morales | i had problems cross-compiling for thumb8.main on nixpkgs. From the rustc docs, the bootstrap/configure script is effectively just a convenience layer for the true configuration resource: the config.toml . I went ahead and adapted rustc.nix so that, instead of relying on configure , we generate a config.toml from a rustc config attrset. Initially, i did that just to solve my issue, and learn a bit more on the build process, but I think this might be useful, as it would be less finicky, powerful, and overridable | 07:58:23 |
Enric Morales | would that be desirable at all? | 07:58:34 |
Enric Morales | * i had problems cross-compiling for thumb8.main on nixpkgs, as the bootstrap process would always error out. From the rustc docs, the bootstrap/configure script is effectively just a convenience layer for the true configuration resource: the config.toml . I went ahead and adapted rustc.nix so that, instead of relying on configure , we generate a config.toml from a rustc config attrset. Initially, i did that just to solve my issue, and learn a bit more on the build process, but I think this might be useful, as it would be less finicky, powerful, and overridable | 07:59:25 |