gcal: depend on gettext on Darwin
Without gettext the gcal binary crashes on macOS: $ ./src/gcal Illegal instruction: 4
This commit is contained in:
parent
7deb6b2aef
commit
7cbefdda67
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl, ncurses, fetchpatch }:
|
||||
{ lib, stdenv, fetchurl, ncurses, gettext, fetchpatch }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gcal";
|
||||
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [ ncurses ];
|
||||
buildInputs = [ ncurses ] ++ lib.optional stdenv.isDarwin gettext;
|
||||
|
||||
meta = {
|
||||
description = "Program for calculating and printing calendars";
|
||||
|
Loading…
Reference in New Issue
Block a user