Hi all,
I have managed to install and have internet acccess over a corporate proxy with NixOS. But know I am facing issues when I try to run nix-shell.
When trying to create a shell env with nix-shell I am getting connection errors.
My shell.nix file:
{pkgs ? import <nixpkgs> {}}:
pkgs.mkShell {
shellHook = ''
export https_proxy=...
# and so on
'';
preShellHook = ''
export https_proxy=...
# and so on
'';
}
When running nix-shell:
env | grep -i proxy
# https_proxy=...
# and so on
nix-shell shell.nix
# resulting in a Couldn't connect to server (7) error;
https_proxy=... nix-shell shell.nix
# resulting in a Couldn't connect to server (7) error;
Do you have any ideas? I would really like to use NixOS also on my work machines.