summary refs log tree commit diff
path: root/pkgs/development/libraries/mesa
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/mesa
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/mesa')
-rw-r--r--pkgs/development/libraries/mesa/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix
index cf452fded14..756a6fd1508 100644
--- a/pkgs/development/libraries/mesa/default.nix
+++ b/pkgs/development/libraries/mesa/default.nix
@@ -129,7 +129,7 @@ stdenv.mkDerivation {
     "-Domx-libs-path=${placeholder "drivers"}/lib/bellagio"
     "-Dva-libs-path=${placeholder "drivers"}/lib/dri"
     "-Dd3d-drivers-path=${placeholder "drivers"}/lib/d3d"
-    "-Dgallium-nine=${if enableGalliumNine then "true" else "false"}" # Direct3D in Wine
+    "-Dgallium-nine=${boolToString enableGalliumNine}" # Direct3D in Wine
     "-Dosmesa=${if enableOSMesa then "gallium" else "none"}" # used by wine
   ] ++ optionals stdenv.isLinux [
     "-Dglvnd=true"
@@ -229,7 +229,7 @@ stdenv.mkDerivation {
     inherit (libglvnd) driverLink;
   };
 
-  meta = with stdenv.lib; {
+  meta = {
     description = "An open source 3D graphics library";
     longDescription = ''
       The Mesa project began as an open-source implementation of the OpenGL