5 Sep 2024 |
K900 | Do you specifically need OpenSSL or can you use schannel or something? | 11:48:47 |
olk | In reply to @k1gen:matrix.org build fails on include_bytes! being called on a .gitignore d file, any way to fix this without git add ing the file? it already cross-compiled, I'm now on this ^ | 11:49:03 |
Alyssa Ross | In reply to @k900:0upti.me Getting openssl to cross-compile will be ... probably not trivial there's stuff about windows in our OpenSSL expression | 11:49:21 |
K900 | If you're using flakes, use nix build path:///path/to/your/flake | 11:49:36 |
K900 | That will disable the git filtering | 11:49:38 |
Alyssa Ross | Hydra even builds it cross compiled to mingwW64 | 11:49:48 |
olk | this is what I didn't get to work | 11:50:56 |
olk | In reply to @k900:0upti.me If you're using flakes, use nix build path:///path/to/your/flake thank you! it finally built succesfully | 11:52:22 |
olk | In reply to @k1gen:matrix.org build fails on include_bytes! being called on a .gitignore d file, any way to fix this without git add ing the file? how can I fix this without the path:/// workaround? | 11:54:14 |
K900 | Add the file to git | 11:54:36 |
olk | this will probably be the most painless solution, yeah. Alyssa Ross can you give any tips on how to make crane use cached mingwW64 openssl from hydra instead of building it myself? | 11:56:27 |
K900 | OpenSSL the C library, not the Rust crate | 11:56:48 |
K900 | The Rust crate is not precompiled | 11:56:52 |
olk | sorry, my brain is a bit fried after all those hours trying to make this compile | 11:58:34 |
| antifuchs left the room. | 13:59:01 |
emily | Alyssa Ross: did you just grep for Rust packages that depend on Perl? :) | 14:01:40 |
Alyssa Ross | yep | 14:01:49 |
emily | cursed | 14:02:36 |
| antifuchs joined the room. | 14:25:29 |
| djacu joined the room. | 19:33:44 |
6 Sep 2024 |
| Thom Jordan joined the room. | 18:18:57 |
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 |