-
Notifications
You must be signed in to change notification settings - Fork 130
flake: add package for Nix #600
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
base: main
Are you sure you want to change the base?
Conversation
|
||
src = ./.; | ||
|
||
# Go dependency hash (should be updated when dependencies are) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reason I didn't add a package to the flake was because of this. I don't want to have to make a PR every time we update dependencies.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say, small price to pay, or maybe it'd even be possible to update this in the same commit when updating dependencies (though, of course, that puts more work on Tulir). If that is unacceptable - a quick search lead me to gomod2nix, which might not have this requirement.(?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tulir doesn't use nix. I know from experience that it is very annoying to manage the vendor hash even when using nix. I forget to update the hash consistently on my own projects.
…uks#629) Limits the height of the room name to 6rem and provides a y-scroll for names that exceed the height limit. Prevents invited rooms hiding the reject button
Renaming (aka moving) a temporary file evidently does not seem to work on Windows when there is an open filehandle. This leads to all user and space avatars remaining blank as temporary files could not be moved to the cache. Simply closing the file before moving should make Windows behave (Linux had always just worked)
Modern browsers should only use .woff2 and .ogg, gomuks web doesn't support outdated browsers anyway
Makes it nicer to build & run gomuks with Nix. One can now just
nix run
.