Re:Libsodium: A modern, portable, easy to use crypto library
by Alifatisk on Friday September 15, 2023 @06:29AM
(#37520946)
Really? You manage the libraries through nix?
[ Parent
| on HN ]
Re:Libsodium: A modern, portable, easy to use crypto library
by arianvanp on Thursday September 21, 2023 @07:29AM
(#37596081)
Yes!
just pop in a:
stdenv.mkDerivation {
pname = "myproject";
version = "0.0.0";
nativeBuildInputs = [ pkg-config ninja meson ];
buildInputs = [ openssl zlib libfido2 ];
}
in a default.nix, type `nix-shell`.
and you'll have meson, ninja, and all your libraries! All ready to go