mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-02 00:00:03 +03:00
nix: fix build
This commit is contained in:
parent
3da247cd20
commit
8117fa732b
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user