diff options
author | D. Scott Boggs <scott@tams.tech> | 2023-06-04 11:46:24 -0400 |
---|---|---|
committer | D. Scott Boggs <scott@tams.tech> | 2023-06-10 13:32:34 -0400 |
commit | a8dcd93bf460ae64549d2ed94825c1450e979902 (patch) | |
tree | bf13c92c3b3530bfab2f2c8426b942be5054b0ee | |
parent | b3e3575f846c6c56ce1ee26990ddfea5b06db3b6 (diff) |
Add shell.nix
-rw-r--r-- | shell.nix | 12 |
1 files changed, 12 insertions, 0 deletions
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 <nixpkgs> {}; +stdenv.mkDerivation { + name = "mastodon-async"; + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ openssl ]; +}
\ No newline at end of file |