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
@@ -21,6 +21,7 @@
, doCheck ? false
, makeWrapper
, fetchpatch
, lib
}:
stdenv.mkDerivation rec {
@@ -74,7 +75,7 @@ stdenv.mkDerivation rec {
mesonFlags = [
"-Ddocs=true"
"-Dx11=false" # use gdk-pixbuf-xlib
"-Dgir=${if gobject-introspection != null then "true" else "false"}"
"-Dgir=${lib.boolToString (gobject-introspection != null)}"
"-Dgio_sniffing=false"
];