devbox icon indicating copy to clipboard operation
devbox copied to clipboard

[WIP][DartPlanner] shell and build support

Open savil opened this issue 3 years ago • 4 comments

Summary

  • devbox shell works
  • devbox build experiences a TLS error. See below.

How was it tested?

Running into a TLS error when building using -v in dart pub get:

> BUILDKIT_PROGRESS=plain devbox build
27 3.091 IO  : Retry #2 for GET https://pub.dartlang.org/api/packages/test...

savil avatar Sep 20 '22 00:09 savil

Current dependencies on/for this PR:

  • main
    • PR #150 Graphite 👈

This comment was auto-generated by Graphite.

savil avatar Sep 20 '22 00:09 savil

hmm similar issue here: https://discourse.nixos.org/t/certificate-issues-in-pure-nix-shell-with-flutter-app/19814

savil avatar Sep 20 '22 00:09 savil

This gist is old, but suggests:

wrapProgram $out/bin/program \
  --set SSL_CERT_FILE "${cacert}/etc/ssl/certs/ca-bundle.crt"

savil avatar Sep 20 '22 00:09 savil

I had tried adding openssl and cacert in DevPackages but hadn't helped. I also tried various combinations of setting SSL_CERT_FILE env var.

savil avatar Sep 20 '22 00:09 savil