uhub: *Flags are lists

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

View file

@ -44,10 +44,10 @@ stdenv.mkDerivation rec {
})
];
cmakeFlags = ''
-DSYSTEMD_SUPPORT=ON
${if tlsSupport then "-DSSL_SUPPORT=ON" else "-DSSL_SUPPORT=OFF"}
'';
cmakeFlags = [
"-DSYSTEMD_SUPPORT=ON"
(if tlsSupport then "-DSSL_SUPPORT=ON" else "-DSSL_SUPPORT=OFF")
];
meta = with stdenv.lib; {
description = "High performance peer-to-peer hub for the ADC network";