mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
linuxPackages.bcachefs: build with rust support
This commit is contained in:
parent
a8836279a6
commit
b83fae5195
1 changed files with 2 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ bcachefs-tools:
|
|||
stdenv,
|
||||
kernelModuleMakeFlags,
|
||||
kernel,
|
||||
rustPlatform,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
|
@ -27,6 +28,7 @@ stdenv.mkDerivation {
|
|||
makeFlags = kernelModuleMakeFlags ++ [
|
||||
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||
"INSTALL_MOD_PATH=${placeholder "out"}"
|
||||
"RUST_LIB_SRC=${rustPlatform.rustLibSrc}"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue