vlaci / openconnect-sso

Wrapper script for OpenConnect supporting Azure AD (SAMLv2) authentication to Cisco SSL-VPNs
GNU General Public License v3.0
300 stars 131 forks source link

Cannot run `nix-shell`; "error: removePathDependenciesHook should use `buildPythonPackage` or `toPythonModule`" #112

Open ElectricRCAircraftGuy opened 2 years ago

ElectricRCAircraftGuy commented 2 years ago

I tried following the "Development" steps here "to get dropped into a development environment", but they don't work.

On Ubuntu 18.04:

openconnect-sso$ nix-shell
error: removePathDependenciesHook should use `buildPythonPackage` or `toPythonModule` if it is to be part of the Python packages set.
(use '--show-trace' to show detailed location information)
desecho commented 2 years ago

I can confirm the same issue on Fedora 36. The instuctions helped me do a successful installation

MadsAnker commented 1 year ago

I'm having this issue on nixos. Any updates?

ElectricRCAircraftGuy commented 1 year ago

@MadsAnker , have you tried following my detailed instructions I link to here?: https://github.com/vlaci/openconnect-sso/issues/114#issue-1452485276

Note: I'm not a developer of this tool--just a user like you.

Also, what's "nixos"? This?: https://nixos.org/

MadsAnker commented 1 year ago

@ElectricRCAircraftGuy Nixos is a Linux distribution based on Nix (the package manager that is causing the error). Ubuntu instructions won't work :)