jetify-com / devbox

Instant, easy, and predictable development environments
https://www.jetify.com/devbox/
Apache License 2.0
8.87k stars 211 forks source link

[Feature]: Nix Flakes GitLab support #1450

Open pinage404 opened 1 year ago

pinage404 commented 1 year ago

Is your feature request related to a problem you're trying to solve? Please describe. I would like to install package hosted on GitLab with Nix Flakes

DevBox seems to support it

set -o xtrace
alias devbox='nix run nixpkgs#devbox'

cd $(mktemp --directory)
echo '{"shell":{"scripts":{"check":"git-gamble --version"}}}' >devbox.json
devbox add gitlab:pinage404/git-gamble
devbox run check

But the documentation doesn't mention it

Describe the solution you'd like Update the documentation to explicitly explain this is supported

Describe alternatives you've considered I use it even if it is not officially supported

artemklevtsov commented 6 months ago

DevBox seems to support it but I got the following message:

$ devbox add gitlab:pinage404/git-gamble
# Error: Package gitlab:pinage404/git-gamble not found
$ devbox version
# 0.10.7
arunvelsriram commented 4 months ago

Hi. Is gitlab supported? Am trying usage flake from a private gitlab repo?