From a8dcd93bf460ae64549d2ed94825c1450e979902 Mon Sep 17 00:00:00 2001 From: "D. Scott Boggs" Date: Sun, 4 Jun 2023 11:46:24 -0400 Subject: [PATCH] Add shell.nix --- shell.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..ed1760b --- /dev/null +++ b/shell.nix @@ -0,0 +1,12 @@ +# nix requires using nix-shell since native-tls requires pkg-config to +# configure openssl +# +# See also: +# https://nixos.wiki/wiki/C#pkg-config +# https://github.com/NixOS/nixpkgs/issues/64530 +with import {}; +stdenv.mkDerivation { + name = "mastodon-async"; + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ openssl ]; +} \ No newline at end of file