wasm-pack: fix build on darwin
This commit is contained in:
parent
47b551c6a8
commit
58de4286d3
@ -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
|
||||
|
@ -24280,7 +24280,9 @@ in
|
||||
|
||||
vttest = callPackage ../tools/misc/vttest { };
|
||||
|
||||
wasm-pack = callPackage ../development/tools/wasm-pack { };
|
||||
wasm-pack = callPackage ../development/tools/wasm-pack {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
wavegain = callPackage ../applications/audio/wavegain { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user