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: Automatic modDirVersion / branch #31610
Conversation
738cace
to
24abc04
Compare
24abc04
to
720bce3
Compare
b212a91
to
883e2a8
Compare
883e2a8
to
40e9946
Compare
@GrahamcOfBorg build linuxPackages_4_13.kernel |
Paging the Borg Queen @grahamc since I don't think the drone listens to me :D |
@NeQuissimus may I recommend you try again? :) |
40e9946
to
a815f09
Compare
@GrahamcOfBorg build linux_4_9 |
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.
Failure for system: x86_64-darwin
error: assertion failed at /tmp/nix-ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/31610/pkgs/os-specific/linux/kernel/generic.nix:32:1
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.
Success for system: x86_64-linux
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
/nix/store/529vla80wpq18rac310krywbsx7k8mmc-linux-4.9.64
/nix/store/zijd4qgxydqg1p3bl1q833bihw0smnl7-linux-4.13.15
/nix/store/nwnw1ljh7zwmcy7i09q2ck9b61kdkagz-linux-4.14.1
I have to add a "+" to modDirVersion currently (I suppose because it's not a tagged kernel release ?!), this doesn't seem to be possible there, does it ? |
You can still override |
Would you mind rebasing ? I consistently hit the problem so that would be a nice addition to nixpkgs. |
Tried rebasing at https://github.com/teto/nixpkgs/tree/moddir. It won't work when modifying kernel config with a custom |
If somebody wants to give this a shot, you are most welcome. I am closing this as it is far outdated... |
Motivation for this change
This allows for
meta.branch
andmodDirVersion
to be determined automatically.Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)