summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.nix b/build.nix
index a37a6c6e..a7383d1b 100644
--- a/build.nix
+++ b/build.nix
@@ -33,7 +33,7 @@ in stdenv.mkDerivation {
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:
@@ -49,7 +49,7 @@ in stdenv.mkDerivation {
makeFlags = [ "DESTDIR=${placeholder "out"}" "PREFIX=" "VERSION=${commit}" ];
dontStrip = true;
- checkPhase = "./bcachefs version";
+ checkPhase = "./target/release/bcachefs version";
doCheck = true;
meta = {