3
0
Fork 0
forked from mirrors/nixpkgs

fastd: disable aes128-ctr, fix build with new libsodium

This commit is contained in:
Franz Pletz 2017-10-15 15:26:14 +02:00
parent 8619ae38e7
commit 5190b05fa2
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -11,6 +11,11 @@ stdenv.mkDerivation rec {
sha256 = "0c9v3igv3812b3jr7jk75a2np658yy00b3i4kpbpdjgvqzc1jrq8";
};
postPatch = ''
substituteInPlace src/crypto/cipher/CMakeLists.txt \
--replace 'add_subdirectory(aes128_ctr)' ""
'';
nativeBuildInputs = [ pkgconfig bison cmake ];
buildInputs = [ libuecc libsodium libcap json_c ];