olm: *Flags are lists

This commit is contained in:
Robin Gloster 2019-10-29 23:21:22 +01:00 committed by Jan Tojnar
parent 5117f77246
commit 81548bf7da
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -15,9 +15,11 @@ stdenv.mkDerivation rec {
# requires optimisation but memory operations are compiled with -O0
hardeningDisable = ["fortify"];
makeFlags = if stdenv.cc.isClang then [ "CC=cc" ] else null;
makeFlags = stdenv.lib.optional stdenv.cc.isClang "CC=cc";
installFlags = "PREFIX=$(out)";
installFlags = [
"PREFIX=${placeholder ''out''}"
];
meta = {
description = "Implements double cryptographic ratchet and Megolm ratchet";