mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
[Backport release-26.05] linuxPackages.bcachefs: fix vmlinux path (#533918)
This commit is contained in:
commit
902b9d4c9e
1 changed files with 6 additions and 0 deletions
|
|
@ -11,9 +11,15 @@ stdenv.mkDerivation {
|
|||
version = "${kernel.version}-${bcachefs-tools.version}";
|
||||
|
||||
__structuredAttrs = true;
|
||||
strictDeps = true;
|
||||
|
||||
src = bcachefs-tools.dkms;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/fs/bcachefs/Makefile \
|
||||
--replace-fail '$(objtree)/vmlinux' '${kernel.dev}/vmlinux'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue