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