Skip to content

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

Open
wants to merge 75 commits into
base: main
Choose a base branch
from
Open

Conversation

GearKite
Copy link

Makes it nicer to build & run gomuks with Nix. One can now just nix run.


src = ./.;

# Go dependency hash (should be updated when dependencies are)
Copy link
Contributor

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.

Copy link
Author

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.(?)

Copy link
Contributor

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.

tulir and others added 23 commits August 6, 2025 17:47
…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)
tulir and others added 30 commits August 6, 2025 17:47
Modern browsers should only use .woff2 and .ogg,
gomuks web doesn't support outdated browsers anyway
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.

5 participants