Skip to content

Updated flake.nix and added to gitignore - #9

Closed
PyricRL wants to merge 7 commits into
Toni500github:mainfrom
PyricRL:main
Closed

Updated flake.nix and added to gitignore#9
PyricRL wants to merge 7 commits into
Toni500github:mainfrom
PyricRL:main

Conversation

@PyricRL

@PyricRL PyricRL commented Aug 18, 2026

Copy link
Copy Markdown

Updated flake.nix and flake.lock to support newest updates.

Comment thread flake.nix
git tag -a v0.1.0 -m "v0.1.0"
'';

installPhase = ''

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that the flake still only considers oshot being built without plugins support. I don't use nixOS so idk, but is it possible to pass an argument to wether to build or not with plugins support? Thus install the shared libraries too?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, nix has support for different branches natively, but installing shared libraries has to be manually configured. I would have to do a bit more testing to make sure it works for that.

Comment thread flake.nix
{
oshot = pkgs.stdenv.mkDerivation {
pname = "oshot";
version = "0.1.0";

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are at version v0.5.0-rc1. Is this related to oshot's package version?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is related to the oshot package version. Forgot to adjust it.

Toni500github and others added 5 commits August 30, 2026 16:18
GDK queues the dialog's surface destroy/unmap request rather than
sending it immediately. Since oshot never runs a GTK main loop after
create_dialog() returns, that request stayed unflushed and Wayland
compositors kept rendering the last frame until the whole
process exited, even though the dialog had already been dismissed.

Pump gtk_events_pending()/gtk_main_iteration() right after
nvd_free_object() to force the flush.
@PyricRL PyricRL closed this Aug 30, 2026
@PyricRL PyricRL reopened this Aug 30, 2026
@PyricRL PyricRL closed this by deleting the head repository Aug 30, 2026
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.

2 participants