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

NixOS Support #870

Closed
devindudeman opened this issue Jan 29, 2025 · 12 comments
Closed

NixOS Support #870

devindudeman opened this issue Jan 29, 2025 · 12 comments
Labels
enhancement New feature or request

Comments

@devindudeman
Copy link

Hello there,

Any chance you could add Goose to the nix package manager?

Thank you!

@michaelneale
Copy link
Collaborator

@devindudeman so you can install it with nix? It isn't in any package managers yet, but that would be cool

@devindudeman
Copy link
Author

devindudeman commented Jan 29, 2025

Yeah I'd love it available here!

As more developers move towards declarative package management, having Goose available as a Nix package would allow seamless integration into NixOS configurations and home-manager setups.

@salman1993 salman1993 added the enhancement New feature or request label Jan 29, 2025
@amackillop
Copy link
Contributor

I can take this

@suderman
Copy link

I found this and it works on my NixOS.

@amackillop
Copy link
Contributor

Nice probably just have to port that over to nixpkgs

@suderman
Copy link

Something like it anyway. I am not experienced with Rust but can see his nix package is fetching a cargo lock file from his own URL. I guess because the lock file is not included in the goose repo? I noticed this when trying to bump up to the next version.

@amackillop
Copy link
Contributor

amackillop commented Jan 30, 2025

I did find it odd that there is no Cargo.lock as typically it is included for application/binary projects and excluded for libraries.

#942

@f15u
Copy link

f15u commented Jan 31, 2025

Yesterday someone make a package request: NixOS/nixpkgs#378090

@michaelneale
Copy link
Collaborator

yeah I can't remember why we didn't do cargo lock

@fusion44
Copy link

fusion44 commented Feb 2, 2025

There is now a PR to include Goose in nixpks:
NixOS/nixpkgs#378111

Please thumb up the PR so it gets merged faster

@DavidDelebecque
Copy link

Hi,

OVHcloud Engineering team tried NixOS.
Providing this image presents some difficulties:

  • images available from NixOS are not cloud ready (with the exception of AMI – unsuitable for us)
  • while it was possible to create working NixOS from ubuntu24.04 via NIXOS_LUSTRATE, it might be non-trivial to properly handle cloud-init in such image. We didn't get it to work during triage.
  • packages channels are marked with specific versions, or "unstable" – not ideal situation, "latest" or "stable" would be highly preferable for automation"

Based on our priorities, we decided to wait for NIxOS integration into OVHcloud image catalog.
As you may already know, some talks are ongoing on NixOS side about creating cloud images :
https://discourse.nixos.org/t/a-cloudinit-image-for-use-in-proxmox/27519
https://discourse.nixos.org/t/nixos-cloud-images-available/41814
NixOS/nixpkgs#307287

We will keep on following this topic and evaluate the best timing for NIxOS integration.

Thanks

@baxen
Copy link
Collaborator

baxen commented Feb 7, 2025

This looks merged upstream, thanks everyone for the contributions!

@baxen baxen closed this as completed Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

9 participants