Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add .envrc and shell.nix for direnv+Nix-based development #1697

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

catern
Copy link
Contributor

@catern catern commented Aug 26, 2020

With this .envrc and shell.nix, merely cd-ing into the trio directory
sets up PATH and PYTHONPATH local to that directory, and runs setup.py
develop, such that one can do trio development with all dependencies
provided from Nix.

The shell.nix is concise because it just takes advantage of the
existing package for trio in Nixpkgs.

I don't expect this commit to be accepted; just submitting this for
reference.

With this .envrc and shell.nix, merely cd-ing into the trio directory
sets up PATH and PYTHONPATH local to that directory, and runs setup.py
develop, such that one can do trio development with all dependencies
provided from Nix.

The shell.nix is concise because it just takes advantage of the
existing package for trio in Nixpkgs.

I don't expect this commit to be accepted; just submitting this for
reference.
@codecov
Copy link

codecov bot commented Aug 26, 2020

Codecov Report

Merging #1697 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1697   +/-   ##
=======================================
  Coverage   99.61%   99.61%           
=======================================
  Files         115      115           
  Lines       14445    14445           
  Branches     1106     1106           
=======================================
  Hits        14389    14389           
  Misses         41       41           
  Partials       15       15           

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant