Skip to content

Nix Flake for NixOS #333

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

Closed
wants to merge 3 commits into from
Closed

Nix Flake for NixOS #333

wants to merge 3 commits into from

Conversation

sahilkmishra
Copy link

This flake allows me a dev shell and the ability to use nix build to compile edit

@lhecker
Copy link
Member

lhecker commented May 28, 2025

If we add this, do these files have to be in the root directory of the project?
Also, does NixOS not have a repository for projects?

@sahilkmishra
Copy link
Author

sahilkmishra commented May 29, 2025

If we add this, do these files have to be in the root directory of the project? Also, does NixOS not have a repository for projects?

no this is purely a development shell and a command to build/run a binary of edit. In order for this to show up on nixpkgs there's a separate repository that would need to link to this repository and read from the nix flake that is present in order for it to be widely available. I made this so I can compile(and any nix users) and start to work on linker errors, namely the libicu missing error

I believe it doesn't need to be in the root dir but I'm unsure what the nixpkgs derivation would look like without the flake being at the root level.

@ADKaster
Copy link

If the maintainers are uncomfortable putting nix contributor files at the package root, an alternative could be to link to a configuration that is owned by the "nix-community" organization, like this one: https://github.com/nix-community/nix-environments

@lhecker
Copy link
Member

lhecker commented Jun 16, 2025

I'll close this PR for now. While I appreciate the work you put into this, we're not yet ready to broadly endorse any specific external package management or similar. (Same for linking to external repositories.) It's still a small project and we want to keep the focus similarly small for now.

@lhecker lhecker closed this Jun 16, 2025
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