diff options
author | hacker1024 <hacker1024@users.sourceforge.net> | 2023-08-27 23:11:24 +1000 |
---|---|---|
committer | hacker1024 <hacker1024@users.sourceforge.net> | 2023-08-29 13:12:01 +0200 |
commit | 41bbc2c311f10086fcb9f149d06eb300ab7e2a7d (patch) | |
tree | 2e5abf07b5aa003ab97cd22d4f1aaf76c8314e78 /pkgs/build-support/dart/fetch-dart-deps | |
parent | 40e82051b94f52a60473e2d0fef010bd1f402184 (diff) | |
download | nixpkgs-41bbc2c311f10086fcb9f149d06eb300ab7e2a7d.tar nixpkgs-41bbc2c311f10086fcb9f149d06eb300ab7e2a7d.tar.gz nixpkgs-41bbc2c311f10086fcb9f149d06eb300ab7e2a7d.tar.bz2 nixpkgs-41bbc2c311f10086fcb9f149d06eb300ab7e2a7d.tar.lz nixpkgs-41bbc2c311f10086fcb9f149d06eb300ab7e2a7d.tar.xz nixpkgs-41bbc2c311f10086fcb9f149d06eb300ab7e2a7d.tar.zst nixpkgs-41bbc2c311f10086fcb9f149d06eb300ab7e2a7d.zip |
flutter: Supply CA bundle in sandbox
Diffstat (limited to 'pkgs/build-support/dart/fetch-dart-deps')
-rw-r--r-- | pkgs/build-support/dart/fetch-dart-deps/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/build-support/dart/fetch-dart-deps/default.nix b/pkgs/build-support/dart/fetch-dart-deps/default.nix index e523b60797e..d6920a35e20 100644 --- a/pkgs/build-support/dart/fetch-dart-deps/default.nix +++ b/pkgs/build-support/dart/fetch-dart-deps/default.nix @@ -79,7 +79,13 @@ let installPhase = '' _pub_get() { - ${pubGetScript} + ( + # Dart does not respect SSL_CERT_FILE. + # https://github.com/dart-lang/sdk/issues/48506 + export DART_VM_OPTIONS="--root-certs-file=$SSL_CERT_FILE" + + ${pubGetScript} + ) } # so we can use lock, diff yaml |