diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2017-04-21 18:05:57 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2017-04-23 18:08:53 -0500 |
commit | 2060f5b1fc2897e4fe2c48f9da3048865f5764c6 (patch) | |
tree | 38f6877cd40ff6b32b531ae7ea55588855196532 /pkgs/development/libraries/libgtop/default.nix | |
parent | 68b5c5e9a9d34a726b4735d56fac362032425834 (diff) | |
download | nixlib-2060f5b1fc2897e4fe2c48f9da3048865f5764c6.tar nixlib-2060f5b1fc2897e4fe2c48f9da3048865f5764c6.tar.gz nixlib-2060f5b1fc2897e4fe2c48f9da3048865f5764c6.tar.bz2 nixlib-2060f5b1fc2897e4fe2c48f9da3048865f5764c6.tar.lz nixlib-2060f5b1fc2897e4fe2c48f9da3048865f5764c6.tar.xz nixlib-2060f5b1fc2897e4fe2c48f9da3048865f5764c6.tar.zst nixlib-2060f5b1fc2897e4fe2c48f9da3048865f5764c6.zip |
libgtop: supports darwin
Diffstat (limited to 'pkgs/development/libraries/libgtop/default.nix')
-rw-r--r-- | pkgs/development/libraries/libgtop/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libgtop/default.nix b/pkgs/development/libraries/libgtop/default.nix index ee4f9401bbb7..de72072e48be 100644 --- a/pkgs/development/libraries/libgtop/default.nix +++ b/pkgs/development/libraries/libgtop/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, glib, pkgconfig, perl, intltool, gobjectIntrospection }: +{ stdenv, fetchurl, glib, pkgconfig, perl, intltool, gobjectIntrospection, libintlOrEmpty }: stdenv.mkDerivation rec { name = "libgtop-${version}"; major = "2.34"; @@ -10,9 +10,12 @@ stdenv.mkDerivation rec { }; propagatedBuildInputs = [ glib ]; + buildInputs = libintlOrEmpty; nativeBuildInputs = [ pkgconfig perl intltool gobjectIntrospection ]; + NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl"; + meta = { - platforms = stdenv.lib.platforms.linux; + platforms = with stdenv.lib.platforms; linux ++ darwin; }; } |