Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for kali-linux's gitlab #424

Open
pinpox opened this issue Mar 23, 2024 · 0 comments
Open

Support for kali-linux's gitlab #424

pinpox opened this issue Mar 23, 2024 · 0 comments

Comments

@pinpox
Copy link

pinpox commented Mar 23, 2024

As part of the effort tracked at https://t4ccer.com/arewehackersyet/ to package most tools available in kali in nixpkgs to make it a viable choice for pentesting I noticed nix-init doesn't work on any of the gitlab urls.

I havn't been able to find out why, since the url seems correct and is reachable, so I must suspect a bug.

Example:
Trying with https://gitlab.com/kalilinux/packages/wifi-honey results in this error:

shell ❯ nix-init -u https://gitlab.com/kalilinux/packages/wifi-honey                                                                                                                                                              
Enter tag or revision (defaults to kali/1.0-1kali3)
❯ kali/1.0-1kali3
Enter version
❯ 1.0-1kali3
Enter pname
❯ wifi-honey
Error: command exited with exit status: 1
stdout:

stderr:
$ nix flake prefetch --extra-experimental-features 'nix-command flakes' --json gitlab:kalilinux%2Fpackages/wifi-honey/kali/1.0-1kali3
error:
       … while fetching the input 'gitlab:kalilinux/packages/wifi-honey/kali/1.0-1kali3'

       error: unable to download 'https://gitlab.com/api/v4/projects/kalilinux%2Fpackages/repository/commits?ref_name=wifi-honey/kali/1.0-1kali3': HTTP error 404

       response body:

       {"message":"404 Project Not Found"}
Error: command exited with exit status: 1

I've tried a few other packages and got the same error, let me know if there is a workaround or this can be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant