Skip to content

feat: add flake#85

Merged
plopezlpz merged 5 commits intomainfrom
feat/add-flake
Apr 17, 2026
Merged

feat: add flake#85
plopezlpz merged 5 commits intomainfrom
feat/add-flake

Conversation

@plopezlpz
Copy link
Copy Markdown
Contributor

Add flake to be able to build from upstream in logos-chat-module

@plopezlpz plopezlpz requested review from jazzz and osmaczko April 11, 2026 09:23
Comment thread flake.nix

outputs = { self, nixpkgs, rust-overlay }:
let
systems = [ "aarch64-darwin" "x86_64-darwin" "aarch64-linux" "x86_64-linux" ];
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering why windows is not supported here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point, I just didn't see it supported widely in other repos/modules

Copy link
Copy Markdown
Contributor

@osmaczko osmaczko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add a CI check confirming flake is working as expected?

Comment thread flake.nix Outdated
Comment thread flake.nix Outdated
Comment thread flake.nix Outdated
@plopezlpz plopezlpz requested a review from osmaczko April 17, 2026 09:09
edition = "2024"

[lib]
crate-type = ["rlib","staticlib","dylib"]
Copy link
Copy Markdown
Contributor Author

@plopezlpz plopezlpz Apr 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the dylib was making the nix build fail with:

error: the linked panic runtime `panic_unwind` is not compiled with this crate's panic strategy `abort`

for now we only use client_ffi.a upstream so removing this

@plopezlpz plopezlpz merged commit df84fc8 into main Apr 17, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants