fix: nix evaluation warnings + flake improvements#395
fix: nix evaluation warnings + flake improvements#395feschber merged 6 commits intofeschber:mainfrom
Conversation
|
The evaluation warning is only on the latest nixos-unstable, the flake.lock in this repo hasn't been updated in a while, so it won't get this issue. I marked it as draft for now, could revive this PR when you decide to update the flake.lock |
|
Decided to give It should be slightly easier to maintain, and I will gladly help maintain it, as I use lan-mouse daily in my workflow. |
|
I've removed the references to apple sdk, this should hopefully resolve the build issues on macos. |
Not entirely sure about this either. @ICE-GB do you remember why it's there? |
feel free to update the flake. |
Perfect, the updated |
Sorry, I’ve completely forgotten the details. However, it builds and runs fine after removing GTK4 based on this PR. |
Is there really a benefit to pulling in Other than that lgtm! |
I've removed the systems input. I guess there isn't really much benefit to it, other than visually/aesthetically. And hopefully we avoid another I drew inspiration from flakes in projects like Hyprland, Vicinae and Nixvim, they all use the systems.url input. Especially the Vicinae flake I drew heavy inspiration from, I took their forEachPkgs boilerplate as I thought its really cool and slightly modified it to fit this project. P.S. |
|
Thank you! |

Hey I am using the flake and home manager module.
I started getting these evaluation warnings, so I decided to look into it.
Main change
I've renamed
xorg.libX11andxorg.libXtsttolibX11andlibXtstrespectively, to fix the evaluation warningAdditional changes:
Was dropped in favor of wrapGAppsHook4, which does it automatically.
I have also removed
with pkgs;and instead list dependencies explicitly in the argument set, this aligns with how nixpkgs does it.Side notes/Questions
I am not entirely sure if
buildPackages.gtk4cmakeare required. I've kept them since they were here already.I've tried building lan-mouse without them and it does build and it works, but I've only tested it on my x86_64-linux machine.