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
1
-
{ fetchurl, lib, stdenv, emacs, gnulib, autoconf, bison, automake, gettext, gperf, texinfo, perl, rsync}:
1
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
19
-
buildInputs = lib.optional stdenv.isLinux emacs;
19
19
+
buildInputs = lib.optionals stdenv.isLinux [
20
20
+
emacs
21
21
+
] ++ lib.optionals stdenv.isDarwin [
22
22
+
darwin.apple_sdk.frameworks.CoreServices
23
23
+
];
24
24
+
20
25
nativeBuildInputs = [ gnulib autoconf bison automake gettext gperf texinfo perl rsync ];
21
26
22
27
doCheck = !stdenv.isDarwin;