diff options
author | Robin Gloster <mail@glob.in> | 2019-10-29 23:21:22 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2019-12-30 12:15:29 +0100 |
commit | f85cfd274d25989f365f835ac95fb2664e29352e (patch) | |
tree | ce99b0169afe5e4201fd8395a7cdc010d33d61b0 /pkgs | |
parent | 8fb0e1613397d43ddd70549a646d18fd6938a577 (diff) |
uhub: *Flags are lists
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/servers/uhub/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/servers/uhub/default.nix b/pkgs/servers/uhub/default.nix index 6483973546c6..11dd5449b4b0 100644 --- a/pkgs/servers/uhub/default.nix +++ b/pkgs/servers/uhub/default.nix @@ -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"; |