-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add nix flake build #139
base: master
Are you sure you want to change the base?
add nix flake build #139
Conversation
jakeisnt
commented
Dec 24, 2022
- As per Add Nix flake support glif#370
- Assuming the same Rust toolchain as the glif configuration; copied that file over.
Is this OK to merge? Looks fine to me. |
Yes and no The dev shell works perfectly and allows contributors to contribute without installing anything - i. e. 'cargo run' in 'nix shell' works perfectly Building the package within Nix, though, doesn't work - unfortunately To solve this, an env variable needs to be set for rust-skia and a skia build has to be 'sideloaded' in; issue here, and an example package with this build can be found in nixpkgs here. I thought this would be a quick fix but ran out of time to get it in today; unfortunately I'm not sure when I'll have time to take another crack at it. The other flake has the same problem - as of now, the dev shell works perfectly but the nix build fails. |
@jakeisnt You can disable that you know. I've had to do it before. Set envvar You can also pass |