-
-
Notifications
You must be signed in to change notification settings - Fork 4
Conversation
I recall commenting on a similar PR that this is nasty and should not go in the repo, however as I am now a NixOS user, I think this is a great idea and should go in all repos. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works and will be useful for when I switch to NixOS.
Well I'm strongly considering building the new Pi OS on nix, so this is very useful. |
Huh, on my system the |
@mildlyincompetent it is possible ( I thought we were still compatible with 3.6? We really need to make a decision on #79. |
The pip / pipenv config isn't, so the repo isn't 3.6 compatible currently, though this may be subject to change once we work out what exactly we're supporting. |
Regardless, all evidence suggests that 3.7 is the preferred version for development, so I'll specify this in the |
Ugh. As a result of Nix's default python3 version being 3.6 (on the 18.09 release, haven't checked unstable), one must go out of their way to override |
Hey at least we're not attempting to Unstable uses 3.7 I believe judging by the random docker container Dan just downloaded, and appears to have binaries for 3.7. |
Yes, results will persist in the store, so it'll only take forever once (unless you garbage collect the store automatically, in which case it'll take forever once per week). |
Thinking about it the point about nix-shell taking a long time is moot. pipenv is broken on the current stable channel, so one must use unstable in the meantime. The next release will almost certainly make python 3.7 the default. @trickeydan please can you check my recent commits haven't broken this for you? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, still works for me.
This enables Nix users to simply run
nix-shell
in the repository root to obtain a shell with python and pipenv (and anything else we may want to add in the future) available.