summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkoverstreet <kent.overstreet@gmail.com>2024-07-31 18:22:23 -0400
committerGitHub <noreply@github.com>2024-07-31 18:22:23 -0400
commite42312b6028d96a735fdcd4262e59d5335f0e398 (patch)
tree1ea05d19213e129d6841b8d0068af9ac00648c34
parentc60ce818902d10f65180e261f8b0d7c72467a94d (diff)
parent73a271e130dcc091eb293a6018038cf557504f42 (diff)
Merge pull request #324 from JohnRTitor/nix-fix
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; });