1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00

Merge pull request #41951 from smaret/ispell

ispell: fix compilation on Darwin
This commit is contained in:
Daiderd Jordan 2018-06-14 01:29:02 +02:00 committed by GitHub
commit 20d16d92a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
];
postPatch = ''
cat >> local.h <<EOF
#define USG
${stdenv.lib.optionalString (!stdenv.isDarwin) "#define USG"}
#define TERMLIB "-lncurses"
#define LANGUAGES "{american,MASTERDICTS=american.med,HASHFILES=americanmed.hash}"
#define MASTERHASH "americanmed.hash"