Skip to content

Commit

Permalink
lxtask: fix darwin build
Browse files Browse the repository at this point in the history
/cc ZHF #36454
  • Loading branch information
LnL7 committed Mar 21, 2018
1 parent fe37684 commit 9b5669b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/desktops/lxde/core/lxtask/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ stdenv.mkDerivation rec {
};

nativeBuildInputs = [ pkgconfig intltool ];

buildInputs = [ gtk3 ];

configureFlags = [ "--enable-gtk3" ];

NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";

meta = {
description = "Lightweight and desktop independent task manager";
longDescription = ''
Expand All @@ -24,7 +26,7 @@ stdenv.mkDerivation rec {
Desktop Environment, it's totally desktop independent and only
requires pure gtk+.
'';
homepage = https://wiki.lxde.org/en/LXTask;
homepage = https://wiki.lxde.org/en/LXTask;
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.romildo ];
Expand Down

1 comment on commit 9b5669b

@matthewbauer
Copy link
Member

@matthewbauer matthewbauer commented on 9b5669b Mar 21, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay this should be fine. "intltool" pulls in "gettext" as a propagatedBuildInput which means it will eventually hit the setup hook. I think there's no issue with having multiple "-lintl" though.

Please sign in to comment.