1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-30 11:43:15 +02:00

Fix Darwin build

http://hydra.nixos.org/build/33279996
This commit is contained in:
Eelco Dolstra 2016-03-15 12:11:27 +01:00
parent 00a75b1cd2
commit 02654f782f
6 changed files with 8 additions and 4 deletions

View file

@ -37,10 +37,12 @@ SecretKey::SecretKey(const string & s)
#endif
}
#if !HAVE_SODIUM
[[noreturn]] static void noSodium()
{
throw Error("Nix was not compiled with libsodium, required for signed binary cache support");
}
#endif
std::string SecretKey::signDetached(const std::string & data) const
{