nix: add meta.mainProgram to allow directly running from this repo

This commit is contained in:
John Titor 2024-07-31 22:37:13 +05:30
parent c60ce81890
commit 73a271e130
No known key found for this signature in database
GPG Key ID: 29B0514F4E3C1CC0

View File

@ -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; });