aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 5b453f2..2f7a40a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,5 +1,5 @@
{
- description = "A CLI to send SMS with pre-determined messages SMS with pre-determined messa SMS with pre-determine.";
+ description = "A CLI to send SMS with pre-determined messages.";
inputs = {
flake-utils.url = "github:numtide/flake-utils";
@@ -55,10 +55,14 @@
cargoArtifacts = craneLib.buildDepsOnly {
inherit src;
+ nativeBuildInputs = with pkgs; [ pkg-config ];
+ buildInputs = with pkgs; [ openssl ];
};
my-crate = craneLib.buildPackage {
inherit cargoArtifacts src;
+ nativeBuildInputs = with pkgs; [ pkg-config ];
+ buildInputs = with pkgs; [ openssl ];
};
in
{
@@ -91,8 +95,10 @@
rust-toolchain
cargo-deny
rust-analyzer
+ pkg-config
];
+ buildInputs = with pkgs; [ openssl ];
inherit (self.checks.${system}.pre-commit) shellHook;
};
})