summary refs log tree commit diff
path: root/pkgs/development/libraries/mesa
diff options
context:
space:
mode:
authorAndreas Rammhold <andreas@rammhold.de>2020-10-25 00:45:11 +0200
committerGitHub <noreply@github.com>2020-10-25 00:45:11 +0200
commit250fb4611fae9bfb7b5ee4e8ec691a99148c8745 (patch)
tree70e3d03537c48b6066c0904c7b6c256d221aad1e /pkgs/development/libraries/mesa
parenta020c1b5910fbcb7fa0c0f3084cf3784ab5c7a53 (diff)
parentcebf9198f3fe80fa38a8c57eb3b02ac4c1df3e8a (diff)
downloadnixpkgs-250fb4611fae9bfb7b5ee4e8ec691a99148c8745.tar
nixpkgs-250fb4611fae9bfb7b5ee4e8ec691a99148c8745.tar.gz
nixpkgs-250fb4611fae9bfb7b5ee4e8ec691a99148c8745.tar.bz2
nixpkgs-250fb4611fae9bfb7b5ee4e8ec691a99148c8745.tar.lz
nixpkgs-250fb4611fae9bfb7b5ee4e8ec691a99148c8745.tar.xz
nixpkgs-250fb4611fae9bfb7b5ee4e8ec691a99148c8745.tar.zst
nixpkgs-250fb4611fae9bfb7b5ee4e8ec691a99148c8745.zip
Merge pull request #100456 from maralorn/boolToString
treewide: De-inline uses of lib.boolToString
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 9fda8091ce4..aeeb0514fab 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