jetify-com / devbox

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

[Feature]: Nix Flakes GitLab support #1450

Open pinage404 opened 10 months ago

pinage404 commented 10 months 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 1 month 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