udev
] ++ lib.optional fuseSupport fuse3;
- BCACHEFS_FUSE = if fuseSupport then "1" else "";
+ ${if fuseSupport then "BCACHEFS_FUSE" else null} = "1";
cargoRoot = ".";
# when git-based crates are updated, run:
# to update the hashes
cargoDeps = rustPlatform.importCargoLock {
lockFile = "${src}/Cargo.lock";
- outputHashes = {
- "bindgen-0.64.0" = "sha256-GNG8as33HLRYJGYe0nw6qBzq86aHiGonyynEM7gaEE4=";
- };
};
makeFlags = [ "DESTDIR=${placeholder "out"}" "PREFIX=" "VERSION=${commit}" ];
dontStrip = true;
- checkPhase = "./bcachefs version";
+ checkPhase = "./target/release/bcachefs version";
doCheck = true;
meta = {