diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-03-14 14:15:06 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-03-22 16:50:11 -0500 |
commit | ed2a9cf65fe2bf02bc3e7070ca4b124260d99585 (patch) | |
tree | eabfdcf2e6203d6da7f1ada80a785455533c9c80 /pkgs/development/libraries/libui | |
parent | 9e75fb5eb4f26de4e551137c3caaa78b9bf8b050 (diff) |
treewide: remove libintl hacks
Diffstat (limited to 'pkgs/development/libraries/libui')
-rw-r--r-- | pkgs/development/libraries/libui/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libui/default.nix b/pkgs/development/libraries/libui/default.nix index 2f8963db0cd8d..2bee04600d008 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 |