Hi there, this isn’t really a flox problem directly, but when I try to run nix flake and related commands directly using the nix cli installed by flox (not flox nix flake …) I’m getting ssl errors:
> nix develop
warning: Git tree '/Users/pauljohnson/Programming/blah' is dirty
warning: error: unable to download 'https://dl.google.com/dl/cloudsdk/channels/rapid/components/google-cloud-sdk-beta-20221101212107.tar.gz': SSL connect error (35); retrying in 330 ms
warning: error: unable to download 'https://dl.google.com/dl/cloudsdk/channels/rapid/components/google-cloud-sdk-beta-20221101212107.tar.gz': SSL connect error (35); retrying in 597 ms
When I download the files in my browser or using curl it downloads correctly. This is on an m1 mac mini.
flake.nix:
{
description = "blah";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
deps = with pkgs; [
kubectl
kubernetes-helm
(google-cloud-sdk.withExtraComponents ([pkgs.google-cloud-sdk.components.gke-gcloud-auth-plugin]))
terraform
go
cue
devspace
postgresql_13
nodejs-16_x
];
in {
packages = deps;
devShell = pkgs.mkShell { buildInputs = deps; };
}
);
}