dj95 / zjstatus

A configurable statusbar plugin for zellij
MIT License
360 stars 6 forks source link

Add a flake.nix to build the package #4

Closed cor closed 10 months ago

cor commented 10 months ago

Including a nix shell is already great! But reproducibly building the package itself with Nix would be even better

dj95 commented 10 months ago

That would be great! I agree. Unfortunately I do not have the knowledge how to properly compile rust with the wasm target in a flake or how to package them properly for zellij.

Do you have any advice for me how to start? Or some resources I can refer to for learning purposes?

dj95 commented 10 months ago

I found crane through your flake template for rust. It worked immediately for the wasm32-wasi target, which I struggled most with, when implementing the flake on my own.

Now the repo contains a flake.nix for installation and development :) thanks for the suggestion!