Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dmarcoux/nix-flakes

Nix Flakes devShells for various projects
https://github.com/dmarcoux/nix-flakes

Last synced: about 1 month ago
JSON representation

Nix Flakes devShells for various projects

Awesome Lists containing this project

README

        

# dmarcoux/nix-flakes

When contributing to open-source projects, I need to have a development
environment to avoid littering my computer with all kind of junk.

For open-source projects with a development environment which isn't
reproducible, I prefer to rely on [Nix](https://github.com/NixOS/nix)
[Flakes](https://nixos.wiki/wiki/Flakes). For all those projects, I store their
development environment setup with Nix Flakes in this Git repository. Each
directory is named after its project and contains the usual Nix Flakes files.
Eventually, I prefer to push this upstream, but it isn't always something
maintainers want.

## Usage

From within a project's Git repository, launch a development environment with:
```bash
nix develop ./path/to/this/repository/project_name/
```