linuxPackages.bcachefs: build with rust support
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user