Skip to content

aleixrm/nix-devshells

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nix flake templates

This repository contains nix flake devshells templates for different languages.

Dependencies

Usage

You can list the available templates through

$ nix flake show github:aleixrm/nix-devshells

For using them, enter your project directory and execute

$ nix flake init -t github:aleixrm/nix-devshells#<template-name>

e.g.

$ nix flake init -t github:aleixrm/nix-devshells#rust

probably you will need to allow the .envrc file through direnv:

$ direnv allow

Now you should have a nix devshell with all the language dependencies loaded.

NOTE: If you don't want to use direnv, you can execute the nix devshell directly with this command:

$ nix develop

About

A template for creating devshells with nix

Resources

Stars

Watchers

Forks

Contributors