idutils: fix build for darwin
This commit is contained in:
parent
4da6bff3af
commit
74800f5720
|
@ -1,4 +1,4 @@
|
|||
{ fetchurl, lib, stdenv, emacs, gnulib, autoconf, bison, automake, gettext, gperf, texinfo, perl, rsync}:
|
||||
{ fetchurl, lib, stdenv, emacs, gnulib, autoconf, bison, automake, gettext, gperf, texinfo, perl, rsync, darwin }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "idutils";
|
||||
|
@ -16,7 +16,12 @@ stdenv.mkDerivation rec {
|
|||
./bootstrap --force --gnulib-srcdir=${gnulib} --skip-po --bootstrap-sync --no-git
|
||||
'';
|
||||
|
||||
buildInputs = lib.optional stdenv.isLinux emacs;
|
||||
buildInputs = lib.optionals stdenv.isLinux [
|
||||
emacs
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.CoreServices
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ gnulib autoconf bison automake gettext gperf texinfo perl rsync ];
|
||||
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
|
Loading…
Reference in New Issue
Block a user