mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
Merge pull request #220 from ElvishJerricco/fix-nix-and-docs
Fix nix and docs
This commit is contained in:
commit
39e109e5f9
@ -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 = {
|
||||||
|
@ -137,7 +137,7 @@ pub struct Cli {
|
|||||||
#[arg(short, long, default_value = "ask", verbatim_doc_comment)]
|
#[arg(short, long, default_value = "ask", verbatim_doc_comment)]
|
||||||
key_location: KeyLocation,
|
key_location: KeyLocation,
|
||||||
|
|
||||||
/// Device, or UUID=<UUID>
|
/// Device, or UUID=\<UUID\>
|
||||||
dev: String,
|
dev: String,
|
||||||
|
|
||||||
/// Where the filesystem should be mounted. If not set, then the filesystem
|
/// Where the filesystem should be mounted. If not set, then the filesystem
|
||||||
|
Loading…
Reference in New Issue
Block a user