Add OpenSSL dependency to flake

This commit is contained in:
Kiana Sheibani 2023-08-26 16:46:22 -04:00
parent 298a8a5653
commit 4dc2975d03
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

@ -14,6 +14,9 @@
src = ./.;
cargoBuildFlags = "-p cli";
cargoLock.lockFile = ./Cargo.lock;
nativeBuildInputs = [ pkgs.pkg-config ];
PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
};
packages.default = self.packages.${system}.ggelo;
@ -21,6 +24,8 @@
devShells.default = pkgs.mkShell {
inputsFrom = [ self.packages.${system}.ggelo ];
packages = [ pkgs.rust-analyzer ];
PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
};
});
}