mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
linuxPackages.bcachefs: fix vmlinux path
From PR https://github.com/koverstreet/bcachefs-tools/pull/620 Also enable strictDeps.
This commit is contained in:
parent
be201abf1d
commit
8811577314
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