treewide: De-inline uses of lib.boolToString

This commit should not change eval results
This commit is contained in:
Malte Brandy
2020-10-14 01:46:17 +02:00
parent 74d875206a
commit cebf9198f3
20 changed files with 30 additions and 28 deletions
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, glib, libxml2, meson, ninja, pkgconfig, gnome3
, gnomeSupport ? true, sqlite, glib-networking, gobject-introspection, vala
, libpsl, python3, brotli }:
, libpsl, python3, brotli, lib }:
stdenv.mkDerivation rec {
pname = "libsoup";
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
"-Dtls_check=false" # glib-networking is a runtime dependency, not a compile-time dependency
"-Dgssapi=disabled"
"-Dvapi=enabled"
"-Dgnome=${if gnomeSupport then "true" else "false"}"
"-Dgnome=${lib.boolToString gnomeSupport}"
"-Dntlm=disabled"
];