mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-19 16:20:52 +00:00
Get Python this way?
This commit is contained in:
parent
9c964f4acd
commit
5cab1f7a4c
@ -458,7 +458,7 @@ jobs:
|
||||
name: "Generation version"
|
||||
command: |
|
||||
# The Nix package doesn't know how to do this part, unfortunately.
|
||||
nix-shell -p python --run 'python setup.py update_version'
|
||||
nix-shell .circleci/python.nix --run 'python setup.py update_version'
|
||||
|
||||
- "run":
|
||||
name: "Build and Test"
|
||||
|
11
.circleci/python.nix
Normal file
11
.circleci/python.nix
Normal file
@ -0,0 +1,11 @@
|
||||
# Define a helper environment for incidental Python tasks required on CI.
|
||||
let
|
||||
sources = import ../nix/sources.nix;
|
||||
in
|
||||
{ pkgs ? import sources."nixpkgs-21.11" { }
|
||||
}:
|
||||
pkgs.mkShell {
|
||||
buildInputs = [
|
||||
pkgs.python3
|
||||
];
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user