Skip to content

Commit bdd4123

Browse files
committed
add clarity-cli to nix
1 parent 086966a commit bdd4123

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed

contrib/nix/flake.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contrib/nix/flake.nix

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
../tools/config-docs-generator)
9999
(craneLib.fileset.commonCargoSources ../../contrib/stacks-inspect)
100100
(craneLib.fileset.commonCargoSources ../../contrib/stacks-cli)
101+
(craneLib.fileset.commonCargoSources ../../contrib/clarity-cli)
101102
(craneLib.fileset.commonCargoSources ../../stacks-signer)
102103
];
103104
};
@@ -135,6 +136,13 @@
135136
src = fileSetForCrate ../../contrib/stacks-cli;
136137
});
137138

139+
clarity-cli = craneLib.buildPackage (individualCrateArgs // rec {
140+
inherit version;
141+
pname = "clarity-cli";
142+
cargoExtraArgs = "-p ${pname}";
143+
src = fileSetForCrate ../../contrib/clarity-cli;
144+
});
145+
138146
stacks-node-app = {
139147
type = "app";
140148
program = "${stacks-core}/bin/stacks-node";
@@ -158,7 +166,7 @@
158166
};
159167
in with pkgs; {
160168
packages = {
161-
inherit stacks-signer stacks-core stacks-cli stacks-inspect;
169+
inherit stacks-signer stacks-core stacks-cli clarity-cli stacks-inspect;
162170
default = stacks-core;
163171
};
164172

0 commit comments

Comments
 (0)