Skip to content

Commit

Permalink
Merge pull request #324 from JohnRTitor/nix-fix
Browse files Browse the repository at this point in the history
nix: add meta.mainProgram to allow directly running from this repo
  • Loading branch information
koverstreet authored Jul 31, 2024
2 parents c60ce81 + 73a271e commit e42312b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@
zlib
zstd
];

meta = {
description = "Userspace tools for bcachefs";
license = lib.licenses.gpl2Only;
mainProgram = "bcachefs";
};
};

cargoArtifacts = craneLib.buildDepsOnly (commonArgs // { pname = cargoToml.package.name; });
Expand Down

0 comments on commit e42312b

Please sign in to comment.