Skip to content

Adds flake.nix for devShell and package#20

Open
breezykermo wants to merge 1 commit intonota-lang:mainfrom
breezykermo:feat/adds-nix-flake
Open

Adds flake.nix for devShell and package#20
breezykermo wants to merge 1 commit intonota-lang:mainfrom
breezykermo:feat/adds-nix-flake

Conversation

@breezykermo
Copy link

@breezykermo breezykermo commented Dec 1, 2025

This shouldn't impact the rest of the install process at all; the flake just works for Nix users to both:

  • Provide a Nix package (from which users can install bene on Nix/NixOS)
  • Provide a Nix devShell for development.

I've also updated the README based on my experience attempting to install bene from scratch; but am happy to remove this if you prefer not to change it!

@breezykermo
Copy link
Author

breezykermo commented Dec 1, 2025

For reference, here is an example of how I made bene the default EPUB reader on NixOS through this flake.

@breezykermo breezykermo force-pushed the feat/adds-nix-flake branch 3 times, most recently from c68c17b to ebbb07d Compare December 19, 2025 12:27
@breezykermo breezykermo force-pushed the feat/adds-nix-flake branch 3 times, most recently from e92a718 to 1a94e8b Compare January 17, 2026 16:27
@breezykermo
Copy link
Author

Note that the Nix flake was removed from the Typst repo recently, and there is some interesting discussion there about whether or not a Nix flake should be included in the repo: typst/typst#7512

It boils down to whether or not the maintainers have any interest in making it easier for Nix users to use their project, basically. Feel free to close this PR if you agree with the arguments there. (I will maintain a flake on my fork of bene if you decide not to merge this.)

Resolves package.json

Simplifies build process using prebuilt binaries
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.

1 participant