···1{ stdenv
02, perl
3, pkg-config
4, curl
···8, autoreconfHook
9, autoconf-archive
10, nlohmann_json
011}:
1213stdenv.mkDerivation {
···15 inherit (nix) version src;
1617 postUnpack = "sourceRoot=$sourceRoot/perl";
001819 # This is not cross-compile safe, don't have time to fix right now
20 # but noting for future travellers.
···1{ stdenv
2+, lib
3, perl
4, pkg-config
5, curl
···9, autoreconfHook
10, autoconf-archive
11, nlohmann_json
12+, Security
13}:
1415stdenv.mkDerivation {
···17 inherit (nix) version src;
1819 postUnpack = "sourceRoot=$sourceRoot/perl";
20+21+ buildInputs = lib.optional (stdenv.isDarwin) Security;
2223 # This is not cross-compile safe, don't have time to fix right now
24 # but noting for future travellers.