Skip to content

Devshells using flakes with as little lines as possible

Notifications You must be signed in to change notification settings

jooooscha/easy-flake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Easy DevShell Nix Flake

This flake provides simple yet somewhat configurable nix development shells. It provides functions to enable development shells. The goal is to only need one input for the flake.nix

The flake re-exports pkgs for example for python.

Currently supports:

  • Rust:
    • Build using crane
    • devshell
  • Pyhton:
    • devshell

Example

This example creates a rust devShell with rust nightly.

{
  description = "Rust Dev Flake";

  inputs.easy.url = "github:jooooscha/easy-flake";

  outputs = { easy, ... }:
    easy.rust.x86_64-linux.env {
      nightly = true;
    };
}

This example shows an example with pyhton

{
  description = "Python Dev Flake";

  inputs.easy.url = "github:jooooscha/easy-flake";

  outputs = { easy, ... }:
    easy.python.x86_64-linux.env {
      inputs = with easy.python.pkgs; [
        pylatexenc        
      ];
    };
}

About

Devshells using flakes with as little lines as possible

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages