Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

idutils: fix build for darwin

+7 -2
+7 -2
pkgs/tools/misc/idutils/default.nix
··· 1 - { fetchurl, lib, stdenv, emacs, gnulib, autoconf, bison, automake, gettext, gperf, texinfo, perl, rsync}: 1 + { fetchurl, lib, stdenv, emacs, gnulib, autoconf, bison, automake, gettext, gperf, texinfo, perl, rsync, darwin }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "idutils"; ··· 16 16 ./bootstrap --force --gnulib-srcdir=${gnulib} --skip-po --bootstrap-sync --no-git 17 17 ''; 18 18 19 - buildInputs = lib.optional stdenv.isLinux emacs; 19 + buildInputs = lib.optionals stdenv.isLinux [ 20 + emacs 21 + ] ++ lib.optionals stdenv.isDarwin [ 22 + darwin.apple_sdk.frameworks.CoreServices 23 + ]; 24 + 20 25 nativeBuildInputs = [ gnulib autoconf bison automake gettext gperf texinfo perl rsync ]; 21 26 22 27 doCheck = !stdenv.isDarwin;