tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
idutils: fix build for darwin
Anthony Roussel
2 years ago
74800f57
4da6bff3
+7
-2
1 changed file
expand all
collapse all
unified
split
pkgs
tools
misc
idutils
default.nix
+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;
0
0
0
0
0
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;