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