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

Include a Nix flake #1198

Open
sempruijs opened this issue Jan 26, 2024 · 3 comments
Open

Include a Nix flake #1198

sempruijs opened this issue Jan 26, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@sempruijs
Copy link
Contributor

Hi all,

A lot of the Cardano projects have nix flakes to define their build system and dependencies.
With a nix flake, you can run:

nix develop

To install all dependencies.
Is their a reason why this project has no flake?

@rphair
Copy link
Collaborator

rphair commented Jan 26, 2024

Nix seems like a lot of overhead for an implementation of Docusaurus, which is just a site-building tool, with a few extra scripts added to it. The "lot of the Cardano projects" to which you're comparing this repository build executables and/or something that uses the Cardano data structures, don't they? If that's the case, the platform and material here don't meet those criteria.

@sempruijs
Copy link
Contributor Author

Is it a problem if this project contains a flake? NixOS users only have to enter the directory to install the right tooling of docusaurus. Allot of people at cardano use nixos, so I don't think I am the only one who is happy with a flake.

@rphair
Copy link
Collaborator

rphair commented Jan 26, 2024

My last response was to explain why it's not a problem if this project doesn't contain a flake. Tagging some other collaborators to see what they think about it: @katomm @rdlrt @fill-the-fill @os11k ... p.s. I have some other reasons why I don't think that configuration should be officially supported, but I would rather hear what they have to say first.

@rphair rphair added the enhancement New feature or request label Jan 26, 2024
@rphair rphair changed the title Where is the nix flake? Include a Nix flake Jan 26, 2024
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