-
-
Notifications
You must be signed in to change notification settings - Fork 201
Description
I have confirmed that this is a bug related to nvf
- This is a bug, and not an user error or a support request. I understand that my issue will be closed if it is not a bug in nvf.
- I have checked the issues tab and confirmed that my issue has not yet been reported. I understand that my issue will be closed if it is a duplicate.
Description
In a work environment using a MITM proxy with self-signed certificates, the blink-cmp package fails to build. The underlying mechanism appears to use Python's requests library, which does not respect the NIX_SSL_CERT_FILE environment variable or the PKI certificates configured in the NixOS configuration file. This results in SSL errors and a failed build.
I am unsure whether this is an issue with the nvf flake or the blink-cmp package in nixpkgs, as I am relatively new to Nix.
Unfortunately, I can't provide any log nor screenshots because of the nature of the work environment.
Installation Method
NixOS Module (nixosModules.default)
Installation Method (Other)
No response
nvf Version
master
Reproduction steps
- Set up a MITM proxy that uses a self-signed certificate.
- Add the proxy's certificate to the NixOS configuration file (e.g.,
/etc/nixos/configuration.nix). - Rebuild the system to ensure the certificate is in use:
sudo nixos-rebuild switch
- Add the
nvfflake to your Nix configuration and enableblink-cmp. - Attempt to build the package. The build should fail with SSL certificate errors, as
requestsdoes not recognize the certificates provided byNIX_SSL_CERT_FILEor the NixOS configuration.
Expected behavior
he build should succeed, with blink-cmp respecting the certificates provided by NIX_SSL_CERT_FILE or the NixOS configuration, allowing it to communicate through the MITM proxy.
Actual Behavior
The build fails with SSL errors, as requests does not use the provided certificates, preventing the package from being built in a proxied environment.
System Information
- system: NixOS
- host os: NixOS-WSL
- multi-user: no
- sandbox: yes
- version: 25.05
- nixpkgs: unstableRelevant log output
N/A