Skip to content

solidtime-desktop: fix build - #512338

Merged
teutat3s merged 1 commit into
NixOS:masterfrom
ern775:solidtime-desktop-fix-build
Apr 25, 2026
Merged

teutat3s merged 1 commit into
NixOS:masterfrom
ern775:solidtime-desktop-fix-build

Conversation

@ern775

@ern775 ern775 commented Apr 22, 2026

Copy link
Copy Markdown
Contributor
  • Updated package to 0.2.7
  • Fixed errors with better-sqlite3 and missing hashes, see solidtime-desktop: 0.0.42 -> 0.1.0 #505399 for details.
  • Added support for darwin, it should work but I'm unsure on the .app folders and the desktop file part, it'd be great if someone could check this.

Note: I do not use this package, this was just something I saw while making #512142.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@ern775
ern775 requested a review from hensoko April 22, 2026 11:04
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Apr 22, 2026

@pSub pSub left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. It builds and runs fine for me on NixOS. Due to a lack of hardware I cannot test it on dawrin.

Thank you very much for this contribution. I tried to fix the buid as well, but couldn't create a working patch of the lockfile.

@pSub

pSub commented Apr 22, 2026

Copy link
Copy Markdown
Member

The only thing that does not work for me right now is the new "window activity tracking" feature. I am on NixOS with Plasma and Wayland. But IMHO this shouldn't block this PR.

image

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". labels Apr 22, 2026
@ern775

ern775 commented Apr 22, 2026

Copy link
Copy Markdown
Contributor Author

I honestly have no clue why you might be getting that error but it looks like it could be an upstream issue to me. It might be a good idea to test the release deb/rpm packages (or build from source normally) and make an issue about it upstream.

Other than that, if you believe that this is okay as it is right now, it should be good to merge after hensoko reviews this as well.

@ern775

ern775 commented Apr 22, 2026

Copy link
Copy Markdown
Contributor Author

Also, to anyone who faces the "missing from lockfile" issue in the future, what I did was simply:

rm -rf node_modules package-lock.json
npm install --ignore-scripts --package-lock-only

Then get the diff and apply it as a patch.

I should note however, this is something upstream should fix as well imo (since npm ci errors out on a clean clone), so you should notify upstream of whatever package you're using.

@teutat3s
teutat3s self-requested a review April 23, 2026 08:06
@teutat3s

Copy link
Copy Markdown
Member

Looks like currently only Gnome Wayland is supported for the "window activity tracking" feature.
solidtime-io/solidtime-desktop#99 (comment)
miniben-90/x-win#70

@ern775

ern775 commented Apr 24, 2026

Copy link
Copy Markdown
Contributor Author

I couldn't try this since it asks me for a login when opening the app, but I think this might be a simple dependency issue.

The error util.isError is not a function tells me this might be an old node module using deprecated code. And since this is linux specific (usocket is a submodule of dbus-next), upstream might not have realised.

You can try overriding the usocket module to a newer version and see if it works. I did this myself but couldn't test it as I said.
(You will need to redo the npm install that I mentioned in my last comment)

@teutat3s teutat3s left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Tested working. Thanks

@teutat3s
teutat3s added this pull request to the merge queue Apr 25, 2026
Merged via the queue into NixOS:master with commit f26d411 Apr 25, 2026
34 of 36 checks passed
@hensoko

hensoko commented Apr 25, 2026

Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 512338
Commit: 130ba0070e70fe9fdf5db4c26f11b1f2671e2d60


x86_64-linux

✅ 1 package built:
  • solidtime-desktop

@ern775
ern775 deleted the solidtime-desktop-fix-build branch April 25, 2026 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants