mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-05-15 14:15:52 -06:00
[GH-ISSUE #80] Feature Proposal: Add lan-mouse to Nix Package Manager #28
Labels
No labels
Xorg
documentation
enhancement
macos
pull-request
question
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/lan-mouse#28
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @beyertom on GitHub (Jan 24, 2024).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/80
I want to propose to add lan-mouse also to the nix package manager and/or home-manager.
I tried to achieve it with a locally defined package:
But the build fails:
I can compile lan-mouse with a nix-shell defined by this flake:
Unfortuneately iam neither a rust nor a nix experst, so i dont understand whats going on.
@feschber commented on GitHub (Jan 24, 2024):
Looking at the error, it looks like the
glib-compile-resourcescommand is missing:1e2ab81eb3/glib-build-tools/src/lib.rs (L33)Do you have the gtk4 development packages as a build dependency?
@ICE-GB I had a quick glance at your fork and you added some NIX-OS related things? Maybe you could help out here?
@beyertom commented on GitHub (Jan 24, 2024):
I added gtk4 as buildInput, so i guess it should be available.
It works in my nix-shell flake with the same buildInput
@feschber commented on GitHub (Jan 24, 2024):
I have no prior experience with nix, but I would guess that you need the gtk4 development package.
@beyertom commented on GitHub (Jan 24, 2024):
Thanks for the hint. I got it working:
I think that can be taken as a base for a nix package.
@beyertom commented on GitHub (Jan 24, 2024):
I don't know if its helpfull for anyone, but i created a local module for lan-mouse with systemd autostart. Maybe someone can use it as an inspiration:
@ICE-GB commented on GitHub (Jan 25, 2024):
Sorry, I don't know much about nix and rust either, I can successfully build executables in ubuntu using the nix development environment I added, but I don't have experience building packages, the flake.nix I added is a reference to
@ICE-GB commented on GitHub (Jan 25, 2024):
Thanks for your work, it looks good and helpful.
@ICE-GB commented on GitHub (Jan 26, 2024):
I created a new branch nix-module added packages and homeManagerModule, it worked for me, hopefully it will help others!
@feschber commented on GitHub (Jan 26, 2024):
Feel free to open a PR!
@dudman commented on GitHub (Feb 9, 2024):
Would like to try this out on my new nixos, but I'm new to nixos and having trouble understanding how to install this flake. How long might it be until its included in rolling ? Thanks
@feschber commented on GitHub (Feb 9, 2024):
I hope, I can find the time next week.
I'm Currently a little busy with exams and assignments...