Merge pull request #31803 from nicknovitski/sdcv-darwin

sdcv: enable Darwin build
This commit is contained in:
Daiderd Jordan 2017-11-20 20:44:35 +01:00 committed by GitHub
commit b7dac500d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
buildInputs = [ glib gettext readline ];
preInstall = ''
touch locale
mkdir locale
'';
NIX_CFLAGS_COMPILE = "-D__GNU_LIBRARY__"
@ -27,6 +27,6 @@ stdenv.mkDerivation rec {
description = "Console version of StarDict";
maintainers = with maintainers; [ lovek323 ];
license = licenses.gpl2;
platforms = platforms.linux;
platforms = platforms.unix;
};
}