-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
oversteer: fix udev rule package paths #364728
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NixOSInfra
added
the
12. first-time contribution
This PR is the author's first one; please be gentle!
label
Dec 12, 2024
github-actions
bot
added
10.rebuild-darwin: 0
This PR does not cause any packages to rebuild on Darwin
10.rebuild-linux: 1-10
labels
Dec 12, 2024
iamtimmy
force-pushed
the
fix/oversteer
branch
3 times, most recently
from
December 12, 2024 23:27
0120813
to
5afc78b
Compare
ofborg
bot
added
10.rebuild-darwin: 1-10
10.rebuild-darwin: 1
10.rebuild-linux: 1
and removed
10.rebuild-darwin: 0
This PR does not cause any packages to rebuild on Darwin
labels
Dec 13, 2024
iamtimmy
force-pushed
the
fix/oversteer
branch
from
December 13, 2024 19:45
5afc78b
to
fa5103c
Compare
This comment was marked as outdated.
This comment was marked as outdated.
github-actions
bot
added
10.rebuild-darwin: 0
This PR does not cause any packages to rebuild on Darwin
and removed
10.rebuild-darwin: 1
10.rebuild-darwin: 1-10
10.rebuild-linux: 1
labels
Dec 13, 2024
Because of the other udev rules detailed above (Gosh you're fast). Should I add --replace-fail to the /bin/sh substitution? That one does work. |
Yes please!
Thanks 😁 |
iamtimmy
force-pushed
the
fix/oversteer
branch
from
December 13, 2024 20:11
fa5103c
to
bd7d1ad
Compare
philiptaron
requested changes
Dec 13, 2024
philiptaron
changed the title
fix oversteer udev rule package paths
oversteer: fix udev rule package paths
Dec 13, 2024
iamtimmy
force-pushed
the
fix/oversteer
branch
from
December 13, 2024 20:24
bd7d1ad
to
9de7767
Compare
philiptaron
reviewed
Dec 13, 2024
With the following in a nixosModule context `services.udev.packages = with pkgs; [ oversteer ];` A `nixos-rebuild` fails with `contains references to /usr/bin/evdev-joystick`
iamtimmy
force-pushed
the
fix/oversteer
branch
from
December 13, 2024 20:29
9de7767
to
41135a0
Compare
updated with suggested changes :) |
philiptaron
approved these changes
Dec 13, 2024
|
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
10.rebuild-darwin: 0
This PR does not cause any packages to rebuild on Darwin
10.rebuild-linux: 1-10
12. first-time contribution
This PR is the author's first one; please be gentle!
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
With the following in a nixosModule context
services.udev.packages = with pkgs; [ oversteer ];
anixos-rebuild
fails to apply udev rules withcontains references to /usr/bin/evdev-joystick
Adding the
linuxConsoleTools
package as a dependency was needed to provide theevdev-joystick
binary.I have not been able to test if the evdev rules work for the Fanatec hardware. I was able to verify that the path in the build output is now compliant.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.