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
linux-next: new function to ease testing the newest kernels #98865
base: master
Are you sure you want to change the base?
Conversation
6903037
to
9306a4a
Compare
Integrated Mandatory:
Optional:
|
Sorry this has been left untouched for so long! I like the idea 👍 @ryantm why did you mark this as a draft? |
At some point I manually marked everything that has WIP in its title as draft. I didn't realize I was fighting with the author to un draft it. Sorry @ikervagyok. |
@ryantm No hard feelings - It is a (working) draft ;) If there are any other improvements, I'm keen to hear them! I am not very familiar with upstream (testing) kernel versioning. |
@NeQuissimus might have some thoughts on this? |
LGTM |
9306a4a
to
25ffbb9
Compare
@Mic92 Description/Usage added. |
I marked this as stale due to inactivity. → More info |
I would be very much interested in getting this merged! |
I can also rebase and take over the pr, if thats desired. |
@@ -0,0 +1,17 @@ | |||
{ stdenv, buildPackages, fetchurl, perl, buildLinux, modDirVersionArg ? null, lib, date, version, sha256, ... } @ args: | |||
|
|||
with stdenv.lib; |
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.
with stdenv.lib; | |
with lib; |
that will not work anymore.
@xaverdh I'll take a look, but in general I'm a bit preoccupied nowadays. If you don't see enough progress, you are of course free to take over this pr ;) |
Motivation for this change
Getting some tests done with the newest upstream patches without a lot of fiddling around.
Things done
Added a new function
linux_next
and a correspondinglinuxPackages_next
. These take a as an argument a set containing a date, a hash and maybe a version string (iflinux_testing
and the upstream RC version differ).usage:
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)