Skip to content

carlthome/nix-pip-flake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nix-pip-flake

Minimal example of using python3Packages.venvShellHook with nix flakes to be able to pip install packages in a development environment.

Usage

Start an interactive shell within the development environment:

nix develop --command ipython --pylab

Run a script within the development environment:

nix develop --command python main.py

Develop

Update the flake.lock file:

nix flake update --commit-lock-file

About

Testing Python inside a venv with nix flakes

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •