summary refs log tree commit diff
path: root/pkgs/development/libraries/mygui
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2020-12-31 14:48:55 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-01-01 11:52:33 +0700
commitb04fc593e7b55fe1f74421b11589f12a339c92e2 (patch)
treefa9bbaeb68f1e0cfa6ea2f9580ea2892eed41b3e /pkgs/development/libraries/mygui
parent54ab07c1fe4e39c5a84834f85300c63e3809ac2d (diff)
downloadnixpkgs-b04fc593e7b55fe1f74421b11589f12a339c92e2.tar
nixpkgs-b04fc593e7b55fe1f74421b11589f12a339c92e2.tar.gz
nixpkgs-b04fc593e7b55fe1f74421b11589f12a339c92e2.tar.bz2
nixpkgs-b04fc593e7b55fe1f74421b11589f12a339c92e2.tar.lz
nixpkgs-b04fc593e7b55fe1f74421b11589f12a339c92e2.tar.xz
nixpkgs-b04fc593e7b55fe1f74421b11589f12a339c92e2.tar.zst
nixpkgs-b04fc593e7b55fe1f74421b11589f12a339c92e2.zip
treewide: cmake buildInputs to nativeBuildInputs, minor cleanups
Diffstat (limited to 'pkgs/development/libraries/mygui')
-rw-r--r--pkgs/development/libraries/mygui/default.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/development/libraries/mygui/default.nix b/pkgs/development/libraries/mygui/default.nix
index 894d35eb3d8..4b86868d2aa 100644
--- a/pkgs/development/libraries/mygui/default.nix
+++ b/pkgs/development/libraries/mygui/default.nix
@@ -1,5 +1,5 @@
 {  stdenv, fetchFromGitHub, libX11, unzip, cmake, ois, freetype, libuuid,
-   boost, pkgconfig, withOgre ? false, ogre ? null, libGL, libGLU ? null } :
+   boost, pkg-config, withOgre ? false, ogre ? null, libGL, libGLU ? null } :
 
 let
   renderSystem = if withOgre then "3" else "4";
@@ -14,11 +14,9 @@ in stdenv.mkDerivation rec {
     sha256 = "0a4zi8w18pjj813n7kmxldl1d9r1jp0iyhkw7pbqgl8f7qaq994w";
   };
 
-  enableParallelBuilding = true;
-
-  nativeBuildInputs = [ pkgconfig ];
-  buildInputs = [ libX11 unzip cmake ois freetype libuuid boost ]
-    ++ (if withOgre then [ ogre ] else [libGL libGLU]);
+  nativeBuildInputs = [ cmake pkg-config ];
+  buildInputs = [ libX11 unzip ois freetype libuuid boost ]
+    ++ (if withOgre then [ ogre ] else [ libGL libGLU ]);
 
   # Tools are disabled due to compilation failures.
   cmakeFlags = [ "-DMYGUI_BUILD_TOOLS=OFF" "-DMYGUI_BUILD_DEMOS=OFF" "-DMYGUI_RENDERSYSTEM=${renderSystem}" ];