Change around environment management so we can install ssh too
The new image does not come with it
This commit is contained in:
parent
83a172210c
commit
5edd96ce6b
|
@ -453,14 +453,22 @@ jobs:
|
|||
NIXPKGS: "nixpkgs-21.05"
|
||||
|
||||
steps:
|
||||
- "run":
|
||||
name: "Install Basic Dependencies"
|
||||
command: |
|
||||
nix-env \
|
||||
-f .circleci/env.nix \
|
||||
--argstr pkgsVersion "$NIXPKGS" \
|
||||
--install \
|
||||
-A ssh python3
|
||||
|
||||
- "checkout"
|
||||
|
||||
- "run":
|
||||
# The Nix package doesn't know how to do this part, unfortunately.
|
||||
name: "Generate version"
|
||||
command: |
|
||||
nix-shell .circleci/python.nix \
|
||||
--argstr pkgsVersion "$NIXPKGS" \
|
||||
--run 'python setup.py update_version'
|
||||
python setup.py update_version
|
||||
|
||||
- "run":
|
||||
name: "Build and Test"
|
||||
|
|
|
@ -5,10 +5,9 @@ in
|
|||
{ pkgsVersion
|
||||
, pkgs ? import sources.${pkgsVersion} { }
|
||||
}:
|
||||
pkgs.mkShell {
|
||||
buildInputs = [
|
||||
(pkgs.python3.withPackages (ps: [
|
||||
{
|
||||
ssh = pkgs.openssh;
|
||||
python = pkgs.python3.withPackages (ps: [
|
||||
ps.setuptools
|
||||
]))
|
||||
];
|
||||
]);
|
||||
}
|
Loading…
Reference in New Issue