diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2019-08-08 07:55:55 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-08 07:55:55 -0500 |
commit | 26663f75a55c44d7b0d699fc2b67b8bb5ba1483c (patch) | |
tree | ffecb98f0c3d1204721f8439418d2d9470cad27c /pkgs/development/tools | |
parent | 8edcdd7bf90a9b2a2ef59f35313437d8277f3ddd (diff) | |
parent | 58de4286d3eff9979816e3cd781aa0608478b770 (diff) | |
download | nixlib-26663f75a55c44d7b0d699fc2b67b8bb5ba1483c.tar nixlib-26663f75a55c44d7b0d699fc2b67b8bb5ba1483c.tar.gz nixlib-26663f75a55c44d7b0d699fc2b67b8bb5ba1483c.tar.bz2 nixlib-26663f75a55c44d7b0d699fc2b67b8bb5ba1483c.tar.lz nixlib-26663f75a55c44d7b0d699fc2b67b8bb5ba1483c.tar.xz nixlib-26663f75a55c44d7b0d699fc2b67b8bb5ba1483c.tar.zst nixlib-26663f75a55c44d7b0d699fc2b67b8bb5ba1483c.zip |
Merge pull request #66308 from marsam/fix-wasm-pack-darwin
wasm-pack: fix build on darwin
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/wasm-pack/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/tools/wasm-pack/default.nix b/pkgs/development/tools/wasm-pack/default.nix index 5827844c1b58..d9ff6f673d87 100644 --- a/pkgs/development/tools/wasm-pack/default.nix +++ b/pkgs/development/tools/wasm-pack/default.nix @@ -3,6 +3,8 @@ , rustPlatform , pkgconfig , openssl +, curl +, Security }: rustPlatform.buildRustPackage rec { @@ -20,7 +22,9 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ openssl ]; + buildInputs = [ openssl ] + ++ stdenv.lib.optionals stdenv.isDarwin [ curl Security ]; + # Tests fetch external resources and build artifacts. # Disabled to work with sandboxing |