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

Putting devenv in nixpkgs? #362

Closed
DamienCassou opened this issue Feb 5, 2023 · 4 comments
Closed

Putting devenv in nixpkgs? #362

DamienCassou opened this issue Feb 5, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@DamienCassou
Copy link

According to install documentation, the "Advanced (declaratively without flakes)" way to install devenv is:

{
  environment.systemPackages = [ 
    (import (fetchTarball https://github.com/cachix/devenv/archive/v0.5.1.tar.gz)).default
  ];
}

I'm wondering why devenv is not in nixpkgs? This would make updates automatic instead of relying on users to regularly change their configuration.

@DamienCassou DamienCassou added the bug Something isn't working label Feb 5, 2023
@domenkozar domenkozar added enhancement New feature or request and removed bug Something isn't working labels Feb 8, 2023
@domenkozar
Copy link
Member

Putting devenv to nixpkgs is tricky, because we have a lot of Nix code that would have to be copied to nixpkgs.

Since it's in rapid development it wouldn't make sense to maintain it there, so for now this is the best way to handle it.

@DamienCassou
Copy link
Author

Very good. Feel free to close the issue now or keep it for later.

@domenkozar
Copy link
Member

I've been thinking about this, most likely we can solve this by implementing #117, so that devenv becomes a very thin wrapper.

@domenkozar
Copy link
Member

NixOS/nixpkgs#297714 done!

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

2 participants