diff options
author | Sebastian Bolanos <sebasheston@protonmail.com> | 2020-11-11 11:23:14 -0600 |
---|---|---|
committer | Sebastian Bolanos <sebasheston@protonmail.com> | 2020-11-11 11:23:14 -0600 |
commit | 33de047fb3d99714125b3fd1cdc85d4b5e67ec1f (patch) | |
tree | 1e9cccd09ecc95f97e4227137b1d7848b255668a /pkgs | |
parent | 63fc8c77ca4ae5c36b02572ada9409d74f571be9 (diff) | |
parent | ce07fef9f4cadd7fcc3adfc4b25ccdad187d1336 (diff) |
Merge remote-tracking branch 'yihuang/openethereum-unix' into openethereum-updates
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/blockchains/openethereum/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/applications/blockchains/openethereum/default.nix b/pkgs/applications/blockchains/openethereum/default.nix index d5c7884c5cc9..563b2378f845 100644 --- a/pkgs/applications/blockchains/openethereum/default.nix +++ b/pkgs/applications/blockchains/openethereum/default.nix @@ -5,7 +5,9 @@ , llvmPackages , openssl , pkg-config +, stdenv , systemd +, darwin }: rustPlatform.buildRustPackage rec { @@ -29,7 +31,9 @@ rustPlatform.buildRustPackage rec { pkg-config ]; - buildInputs = [ openssl systemd ]; + buildInputs = [ openssl ] + ++ stdenv.lib.optionals stdenv.isLinux [ systemd ] + ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.Security ]; cargoBuildFlags = [ "--features final" ]; @@ -41,6 +45,6 @@ rustPlatform.buildRustPackage rec { homepage = "http://parity.io/ethereum"; license = licenses.gpl3; maintainers = with maintainers; [ akru xrelkd ]; - platforms = platforms.linux; + platforms = stdenv.lib.platforms.unix; }; } |