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
Update nvidia legacy 340 to work with 4.9 and 4.10 kernels #24694
Conversation
Pinging @vcunat for review |
# from https://git.archlinux.org/svntogit/packages.git/plain/trunk/fs52243.patch?h=packages/nvidia-340xx | ||
# with datestamps removed | ||
./fs52243.patch | ||
] |
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.
I must say I can't see why removing the datestamps matters.
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.
The patch failed to apply otherwise - it couldn't find the matching file because nixos resets datestamps.
EDIT: Otherwise I would've used the patch directly from Arch
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.
Oh, I didn't know the patch
program checked such things. fetchpatch
should solve such a thing, but let's leave it like it is now, as it's such a tiny patch.
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.
Looks OK, builds OK.
Thanks! I'm sorry it's taken me so long. |
(cherry picked from commit 71d8ce6) It's just maintenance + patches to support newer kernels.
Motivation for this change
nvidiaLegacy340 was at .101, latest is .102. There are also two patches (from Arch) needed to build and load properly on 4.9 and 4.10 kernels, respectively.
Summary:
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)Pinging @vcunat as maintainer.