forked from mirrors/nixpkgs
sdcv: enable Darwin build
This commit is contained in:
parent
5ec0e09239
commit
e6180997ac
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [ glib gettext readline ];
|
buildInputs = [ glib gettext readline ];
|
||||||
|
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
touch locale
|
mkdir locale
|
||||||
'';
|
'';
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-D__GNU_LIBRARY__"
|
NIX_CFLAGS_COMPILE = "-D__GNU_LIBRARY__"
|
||||||
|
@ -27,6 +27,6 @@ stdenv.mkDerivation rec {
|
||||||
description = "Console version of StarDict";
|
description = "Console version of StarDict";
|
||||||
maintainers = with maintainers; [ lovek323 ];
|
maintainers = with maintainers; [ lovek323 ];
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue