We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa0a21c commit bc2d49cCopy full SHA for bc2d49c
contrib/nix/flake.nix
@@ -126,6 +126,17 @@
126
}
127
);
128
129
+ stacks-common = craneLib.buildPackage (
130
+ individualCrateArgs
131
+ // rec {
132
+ version = (builtins.fromTOML (builtins.readFile ../../stacks-common/Cargo.toml)).package.version;
133
+ pname = "stacks-common";
134
+ cargoFeatures = "--features slog_json";
135
+ cargoExtraArgs = "${cargoFeatures} -p ${pname}";
136
+ src = fileSetForCrate ../../stacks-common;
137
+ }
138
+ );
139
+
140
# Build the actual crate itself, reusing the dependency
141
# artifacts from above.
142
stacks-core = craneLib.buildPackage (
@@ -143,7 +154,7 @@
143
154
with pkgs;
144
155
{
145
156
packages = {
146
- inherit stacks-signer;
157
+ inherit stacks-signer stacks-common;
147
158
default = stacks-core;
148
159
};
149
160
0 commit comments