developer-portal icon indicating copy to clipboard operation
developer-portal copied to clipboard

Include a Nix flake

Open sempruijs opened this issue 2 years ago • 3 comments

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?

sempruijs avatar Jan 26 '24 14:01 sempruijs

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.

rphair avatar Jan 26 '24 15:01 rphair

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.

sempruijs avatar Jan 26 '24 15:01 sempruijs

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 avatar Jan 26 '24 15:01 rphair