summary refs log tree commit diff
path: root/pkgs/development/libraries/libui
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-03-14 14:15:06 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2018-03-22 16:50:11 -0500
commited2a9cf65fe2bf02bc3e7070ca4b124260d99585 (patch)
treeeabfdcf2e6203d6da7f1ada80a785455533c9c80 /pkgs/development/libraries/libui
parent9e75fb5eb4f26de4e551137c3caaa78b9bf8b050 (diff)
downloadnixpkgs-ed2a9cf65fe2bf02bc3e7070ca4b124260d99585.tar
nixpkgs-ed2a9cf65fe2bf02bc3e7070ca4b124260d99585.tar.gz
nixpkgs-ed2a9cf65fe2bf02bc3e7070ca4b124260d99585.tar.bz2
nixpkgs-ed2a9cf65fe2bf02bc3e7070ca4b124260d99585.tar.lz
nixpkgs-ed2a9cf65fe2bf02bc3e7070ca4b124260d99585.tar.xz
nixpkgs-ed2a9cf65fe2bf02bc3e7070ca4b124260d99585.tar.zst
nixpkgs-ed2a9cf65fe2bf02bc3e7070ca4b124260d99585.zip
treewide: remove libintl hacks
Diffstat (limited to 'pkgs/development/libraries/libui')
-rw-r--r--pkgs/development/libraries/libui/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libui/default.nix b/pkgs/development/libraries/libui/default.nix
index 2f8963db0cd..2bee04600d0 100644
--- a/pkgs/development/libraries/libui/default.nix
+++ b/pkgs/development/libraries/libui/default.nix
@@ -15,7 +15,9 @@ in
 
   nativeBuildInputs = [ pkgconfig ];
     buildInputs = [ cmake ] ++
-      (if stdenv.isDarwin then [darwin.apple_sdk.frameworks.Cocoa] else [gtk3]);
+      (if backend == "darwin" then [darwin.apple_sdk.frameworks.Cocoa]
+       else if backend == "unix" then [gtk3])
+       else null;
 
     preConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
       sed -i 's/set(CMAKE_OSX_DEPLOYMENT_TARGET "10.8")//' ./CMakeLists.txt