summary refs log tree commit diff
path: root/pkgs/development/libraries/gdk-pixbuf
diff options
context:
space:
mode:
authorMalte Brandy <malte.brandy@maralorn.de>2020-10-14 01:46:17 +0200
committerMalte Brandy <malte.brandy@maralorn.de>2020-10-14 01:46:17 +0200
commitcebf9198f3fe80fa38a8c57eb3b02ac4c1df3e8a (patch)
treea63c3fb3954ecfd407aa649f777f102a262a4ddb /pkgs/development/libraries/gdk-pixbuf
parent74d875206a825007e27abaa7c590f4c1db35ad31 (diff)
downloadnixpkgs-cebf9198f3fe80fa38a8c57eb3b02ac4c1df3e8a.tar
nixpkgs-cebf9198f3fe80fa38a8c57eb3b02ac4c1df3e8a.tar.gz
nixpkgs-cebf9198f3fe80fa38a8c57eb3b02ac4c1df3e8a.tar.bz2
nixpkgs-cebf9198f3fe80fa38a8c57eb3b02ac4c1df3e8a.tar.lz
nixpkgs-cebf9198f3fe80fa38a8c57eb3b02ac4c1df3e8a.tar.xz
nixpkgs-cebf9198f3fe80fa38a8c57eb3b02ac4c1df3e8a.tar.zst
nixpkgs-cebf9198f3fe80fa38a8c57eb3b02ac4c1df3e8a.zip
treewide: De-inline uses of lib.boolToString
This commit should not change eval results
Diffstat (limited to 'pkgs/development/libraries/gdk-pixbuf')
-rw-r--r--pkgs/development/libraries/gdk-pixbuf/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/gdk-pixbuf/default.nix b/pkgs/development/libraries/gdk-pixbuf/default.nix
index 08b8f70b2d9..1f4bc5c12ad 100644
--- a/pkgs/development/libraries/gdk-pixbuf/default.nix
+++ b/pkgs/development/libraries/gdk-pixbuf/default.nix
@@ -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"
   ];