We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffb51b9 commit ed4655bCopy full SHA for ed4655b
flake.nix
@@ -34,16 +34,18 @@
34
*.nix
35
'' ./.;
36
37
- nativeBuildInputs = [
38
- pkgs.pkg-config
39
- ]
+ nativeBuildInputs = []
40
++ lib.optionals stdenv.isDarwin [
41
pkgs.libiconv
42
pkgs.darwin.apple_sdk.frameworks.Security
43
pkgs.darwin.apple_sdk.frameworks.SystemConfiguration
44
];
45
46
- buildInputs = [ pkgs.openssl pkgs.protobuf ];
+ buildInputs = [
+ pkgs.pkg-config
+ pkgs.openssl
47
+ pkgs.protobuf
48
+ ];
49
50
cargoArtifacts = craneLib.buildDepsOnly {
51
inherit src nativeBuildInputs buildInputs;
@@ -71,6 +73,10 @@
71
73
cargoClippyExtraArgs = "--all-targets --no-deps";
72
74
};
75
76
+ grey-doc = craneLib.cargoDoc {
77
+ inherit cargoArtifacts src;
78
+ };
79
+
80
# Check formatting
81
grey-fmt = craneLib.cargoFmt {
82
inherit src;
0 commit comments