Skip to content

Added nix flake - #426

Open
MysaaJava wants to merge 1 commit into
scribble-rs:masterfrom
MysaaJava:flake
Open

Added nix flake#426
MysaaJava wants to merge 1 commit into
scribble-rs:masterfrom
MysaaJava:flake

Conversation

@MysaaJava

Copy link
Copy Markdown

Hello.
This PR adds the nix build files. They allow to build the project for nix users.
Nix users can do nix build to build the project, or nix develop to enter a shell with all the project dependencies available.

There is theorically a need to update the hash stored in the vendorHash field of the flake.nix every time the go.mod file is modified, but any nix user should know how to do this.

Feel free to ask anything about nix if you need me to explain how this file works (here or on discord @MysaaJava)
(i am creating this pr hoping it could help other nix users that stumble across this project)

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