treewide: use boolToString function

This commit is contained in:
Franz Pletz
2017-04-11 18:18:53 +02:00
parent 54fff9ec1a
commit 3ab45f4b36
40 changed files with 111 additions and 118 deletions
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
buildPhase = ''
LD_LIBRARY_PATH=${cpuid}/lib/ocaml/${ocaml.version}/site-lib/stubslibs/ \
${topkg.buildPhase} --with-lwt ${if withLwt then "true" else "false"}
${topkg.buildPhase} --with-lwt ${boolToString withLwt}
'';
inherit (topkg) installPhase;