| 28 Jun 2022 |
dpc | In reply to @a-kenji:matrix.org Do you have a question there? Yeah, sorry. It was late, I was tired and desperate. I went ahead and posted it on the forum https://discourse.nixos.org/t/different-result-on-import-path-default-nix-in-flake-nix-vs-repl/19997 | 16:26:48 |
dpc | BTW. I'm working on a small silly project that is supposed to be an easy to replicate Rust software shop: https://github.com/rustshop/rustshop
Nix for glue + Terraform for well... terraforming AWS + Rust for all the code.
The goal is to pretend it's a real software shop and build all the devops and app things that a small cloud based startup could star with. All in a form of ... pretending it's a real bussiness. | 16:28:33 |
dpc | I'm more of a software system eng. myself, but I do have all the basics with Nix, Terraform and AWS. But since i'm here - if anyone would be interested I could use a lot of help. :D | 16:29:55 |
a-kenji | In reply to @dpc:matrix.org Yeah, sorry. It was late, I was tired and desperate. I went ahead and posted it on the forum https://discourse.nixos.org/t/different-result-on-import-path-default-nix-in-flake-nix-vs-repl/19997 No problem! Sadly I don't really know whats going on there! | 19:45:41 |
dpc | No worries and thanks anyway! | 19:46:05 |
a-kenji | In reply to @js:ukvly.org is anyone interested in collaborating on Linux kernel Rust support in nixpkgs? -> https://discourse.nixos.org/t/help-wanted-packaging-linux-kernel-with-rust-support/19988 Hey! I am possibly interested. | 19:47:26 |
Julian Stecklina | In reply to @a-kenji:matrix.org Hey! I am possibly interested. Nice! From the bullet points in the post, would you be interested in picking one up? | 19:53:16 |
a-kenji | In reply to @js:ukvly.org Nice! From the bullet points in the post, would you be interested in picking one up? I think I could try packaging bindgen, I would need to know how the rest works. Nixpkgs has 0.59 is that not compatible? | 19:58:23 |
Julian Stecklina | Unfortunately not. The kernel code wants the old version and things actually break if you use the new one | 19:59:02 |
Julian Stecklina | I think you can pick things up from my branch (link in the post) | 19:59:39 |
a-kenji | Ah, good to know. | 19:59:42 |
Julian Stecklina | I had a bit of time to clean up the Bingen derivation this morning | 20:00:02 |
Julian Stecklina | * I had a bit of time to clean up the bindgen derivation this morning | 20:00:15 |
a-kenji | In reply to @js:ukvly.org I had a bit of time to clean up the Bingen derivation this morning Did you not actually finish the bingen thing already? It seems to build fine for me. | 20:42:48 |
Julian Stecklina | Yes. Should be done. You could try to open a PR for it | 20:44:11 |
Julian Stecklina | Please tag me (@blitz) | 20:44:52 |
dpc | In reply to @a-kenji:matrix.org No problem! Sadly I don't really know whats going on there! I've figured it out, I'm so pround of myself. https://github.com/rustshop/rustshop/commit/26824e3eb119b8cb5cdfcedddf291853344673a1 | 23:13:46 |
| 29 Jun 2022 |
a-kenji | @dpc Was the issue that you needed to pass in system? | 15:19:43 |
a-kenji | Ah, yes! Just found the lnk to the issue. | 15:20:08 |
a-kenji | @[Julian Stecklina] I cc'ed you on the pr. It was recommended we wait with merging until we know for sure, if it will be inside, when an rc will be available? | 20:26:31 |
Alyssa Ross | that was me, hi :) | 20:28:33 |
a-kenji | Hi o/ | 20:30:14 |
| 30 Jun 2022 |
| Florian | W3F changed their profile picture. | 13:14:44 |
| 2 Jul 2022 |
| Heis joined the room. | 02:14:59 |
| Heis left the room. | 02:18:58 |
@grahamc:nixos.org | I'm trying to compile a Rust project to be fully static, and use libcryptsetup. I've tried various approaches like:
pkgs = import nixpkgs {
inherit system;
crossSystem = (import (nixpkgs + "/lib")).systems.examples.musl64 // {
rustc.config = "x86_64-unknown-linux-musl";
};
};
and using cargo --target and ... other things that I can't quite remember. Here is an example repository: https://github.com/grahamc/libcryptsetup-static-rust I don't suppose anyone has a suggestion? I've stumped some of my closest rust friends so far :x
| 23:56:22 |
| 3 Jul 2022 |
@grahamc:nixos.org | I made an attempt with naersk too: https://github.com/grahamc/libcryptsetup-static-rust/blob/naersk/failure | 00:39:32 |
Alyssa Ross | grahamc: musl != static | 07:32:40 |
Alyssa Ross | for fully static builds you need to use pkgsStatic | 07:34:23 |
Alyssa Ross | and then you probably want to go through pkgs.pkgsStatic.callPackage, because pkgsStatic is cross-compilation so needs e.g. buildInputs vs nativeBuildInputs to be differentiated properly. | 07:35:09 |