summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Titor <50095635+JohnRTitor@users.noreply.github.com>2024-07-31 22:37:13 +0530
committerJohn Titor <50095635+JohnRTitor@users.noreply.github.com>2024-07-31 22:37:13 +0530
commit73a271e130dcc091eb293a6018038cf557504f42 (patch)
tree1ea05d19213e129d6841b8d0068af9ac00648c34
parentc60ce818902d10f65180e261f8b0d7c72467a94d (diff)
nix: add meta.mainProgram to allow directly running from this repo
-rw-r--r--flake.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 4dba19d7..4aa66a86 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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; });