Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@ITesserakt
Copy link
Contributor

This PR adds support for installing this package in NixOs using flakes.

In future, envycontrol may be added to nixpkgs. See more.

Fix url in this file after merge to use right user

Package version is not automatically picked up from envycontrol.py. Consider updating it manually

Copy link
Owner

@bayasdev bayasdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bayasdev bayasdev merged commit 69e78e5 into bayasdev:main Feb 25, 2024
@klmcwhirter
Copy link
Contributor

klmcwhirter commented Feb 25, 2024

Let's watch this for v4 to properly embed the version in flake.nix. Will want it to be dynamic via GitHub action instead of hard coding the version.

[EDIT] added note to https://github.com/klmcwhirter/envycontrol/blob/tests/V4_Roadmap.md

@klmcwhirter
Copy link
Contributor

klmcwhirter commented Nov 30, 2024

I didn't catch this earlier, but FWIW Nix flakes are useful on more than just NixOS. They call their package manager Nix as well (overloaded term). I used it on Fedora and in an Ubuntu VM a year or so ago.

I was experimenting with nix develop using project specific flakes that would install everything needed for that project (e.g., tinygo, emscripten, python complied with wasi support, etc.) so I did not have to install the superset of the tools I use across all the projects I periodically work. Was kind of neat.

But the point is that the flake.nix could be useful on even macOS.

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

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.