6 Sep 2024 |
aktaboot | do we typically want to avoid vendored/static openssl in rust packages ? | 19:43:56 |
K900 | Yes | 19:44:32 |
emily | yes to the point where we're considering adding the env variable to disable that in the setup hook | 19:44:49 |
aktaboot | is that mostly for security/vulnerability management reasons ? | 19:46:55 |
emily | also software provenance / bill of materials reasons | 19:48:37 |
emily | and for any other patches or build things we do that make OpenSSL work how we want it to work | 19:48:47 |
aktaboot | okay thanks! | 19:52:16 |
7 Sep 2024 |
Ralith | saves build time, too | 01:08:10 |
olk | can anyone show me a multi-target flake that uses crane+fenix? I have a working linux->windows cross-compilation flake, but now that I want to add a devShell and a native linux target for nix build to it, I am having problems | 08:57:56 |
olk | this isn't really portable... | 08:58:57 |
| antifuchs | 13:28:53 |
olk | anyone here uses crane for multiple targets? | 14:20:40 |
8 Sep 2024 |
Charles | In reply to @k1gen:matrix.org can anyone show me a multi-target flake that uses crane+fenix? I have a working linux->windows cross-compilation flake, but now that I want to add a devShell and a native linux target for nix build to it, I am having problems this is pretty involved, idk if it'll help: https://gitlab.computer.surgery/matrix/grapevine-fork/-/blob/main/flake.nix?ref_type=heads | 03:00:36 |
7 Sep 2024 |
olk | * anyone here uses crane for multiple targets? this is the mess I currently have | 14:44:41 |
8 Sep 2024 |
olk | I have compilation issues, again: https://paste.rs/fkyH5.txt
I have replaced openssl by rustcrypto, and now this flake fails: https://paste.rs/hLpLu.txt
what did I miss? | 11:01:34 |
K900 | That's an ICE | 11:03:13 |
K900 | Are you using Rust nightly? | 11:03:17 |
olk | yes | 11:05:48 |
K900 | Then you should probably not do that | 11:07:21 |
K900 | And report the issue upstream | 11:07:24 |
olk | In reply to @k900:0upti.me And report the issue upstream ah, do it's not a nix thing? | 11:07:50 |
olk | 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 | It is not a nix thing | 11:08:23 |
K900 | And you do not need to build std | 11:08:28 |
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.me It is not a nix thing ok, 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.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 |
olk | why isn't
devShells.default = craneLib.devShell {
toolchain = fenix.packages.${system}.default.toolchain;
};
installing neither clippy nor rustfmt ?
| 09:27:34 |
K900 | Because those aren't part of the default toolchain? | 09:30:37 |