Open Dlurak opened 3 weeks ago
I'm not familiar enough with this OS, and I think it's too nitch to be added to this project. Having said that, I think the following PR can solve most of what you want:
Currently it is not done correctly and there are a lot of issues there, but they can be solved easily for someone who know docker well. It also can be used for codespaces base image and allow to define what is actually needed in order to develop maplibre.
If this is something that you think can solve your issue it would be great if you could open a PR to add this ability.
Thank you for your response and for considering ways to support isolated development environments!
I understand that Nix may feel niche compared to Docker. However, a flake.nix
could actually complement a Docker-based setup and bring value without affecting non-Nix users:
flake.nix
file is simpler and more natural for development work than Docker containers. Additionally it's lightweight especially compared to Docker containers.flake.nix
file would require minimal maintenance and wouldn't interfere with the proposed Docker based setup or the normal not isolated, not reproducible, not declarative setup. Similar to the .editorconfig
, it would simply be an optional tool for those who find it useful.If you're open to it, I'd be happy to submit a PR that introduces a minimal flake.nix
file.
If you can create a docker image based on nix to facilitate both use cases, I think it would beneficial. Otherwise, you could probably create a nix for yourself as I don't see us maintaining this file...
User Story
As a NixOS user interested in contributing I want to add a
flake.nix
file to make it easier to start working on this projectRationale
nix develop
to be dropped in a shell with all relevant dev tools, like nodejs...nix-shell -p
command can be usedImpact
This simplifies the initial setup for nix users. It doesn't matter at all to the end user but it does make it easier to start working on this project for nix users.