-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
opentabletdriver: misc improvements to package/module #108131
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
opentabletdriver: misc improvements to package/module #108131
Conversation
|
||
cp -r $src/OpenTabletDriver.UX/Assets/* $out/share/pixmaps | ||
mkdir -p $out/lib/OpenTabletDriver | ||
cp -rv ./OpenTabletDriver/Configurations $out/lib/OpenTabletDriver |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
install
doesn't support recursive directory copy.
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
- Use install instead of cp when possible - Add missing hooks - Use desktopItem instead of packaging desktop file manually
@SuperSandro2000 Can I have your review here? Should be a pretty uncontroversial one. |
/marvin opt-in |
Hi! I'm an experimental bot. My goal is to guide this PR through its stages, hopefully ending with a merge. You can read up on the usage here. |
LGTM. I don't think this can break something. /status needs_merger |
Result of 1 package blacklisted:
1 package built:
|
Motivation for this change
opentabletdriver
package, useinstall
instead ofcp
when possible, making the install process more deterministic (i.e.: ensure that the permissions are correct) and avoiding uselessmkdir
commandshardware.opentabletdriver.package
option, allowing using of a customOpenTabletDriver
packagecopyDesktopItems
instead of copying it manuallyThings done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)