mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-09 00:00:04 +03:00
nix: fix build
This commit is contained in:
parent
3da247cd20
commit
8117fa732b
@ -33,7 +33,7 @@ in stdenv.mkDerivation {
|
|||||||
udev
|
udev
|
||||||
] ++ lib.optional fuseSupport fuse3;
|
] ++ lib.optional fuseSupport fuse3;
|
||||||
|
|
||||||
BCACHEFS_FUSE = if fuseSupport then "1" else "";
|
${if fuseSupport then "BCACHEFS_FUSE" else null} = "1";
|
||||||
|
|
||||||
cargoRoot = ".";
|
cargoRoot = ".";
|
||||||
# when git-based crates are updated, run:
|
# when git-based crates are updated, run:
|
||||||
@ -49,7 +49,7 @@ in stdenv.mkDerivation {
|
|||||||
makeFlags = [ "DESTDIR=${placeholder "out"}" "PREFIX=" "VERSION=${commit}" ];
|
makeFlags = [ "DESTDIR=${placeholder "out"}" "PREFIX=" "VERSION=${commit}" ];
|
||||||
|
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
checkPhase = "./bcachefs version";
|
checkPhase = "./target/release/bcachefs version";
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user