wasm-pack: fix build on darwin
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user