Merge pull request #66308 from marsam/fix-wasm-pack-darwin
wasm-pack: fix build on darwin
This commit is contained in:
commit
26663f75a5
@ -3,6 +3,8 @@
|
|||||||
, rustPlatform
|
, rustPlatform
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
, openssl
|
, openssl
|
||||||
|
, curl
|
||||||
|
, Security
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -20,7 +22,9 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
buildInputs = [ openssl ];
|
buildInputs = [ openssl ]
|
||||||
|
++ stdenv.lib.optionals stdenv.isDarwin [ curl Security ];
|
||||||
|
|
||||||
|
|
||||||
# Tests fetch external resources and build artifacts.
|
# Tests fetch external resources and build artifacts.
|
||||||
# Disabled to work with sandboxing
|
# Disabled to work with sandboxing
|
||||||
|
@ -24277,7 +24277,9 @@ in
|
|||||||
|
|
||||||
vttest = callPackage ../tools/misc/vttest { };
|
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 { };
|
wavegain = callPackage ../applications/audio/wavegain { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user