mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-18 02:40:07 +00:00
try to use a single nixpkgs in each job
This commit is contained in:
parent
dea4c7e131
commit
013e1810e4
@ -456,9 +456,11 @@ jobs:
|
||||
- "checkout"
|
||||
- "run":
|
||||
name: "Generation version"
|
||||
command: |
|
||||
command: >-
|
||||
# The Nix package doesn't know how to do this part, unfortunately.
|
||||
nix-shell .circleci/python.nix --run 'python setup.py update_version'
|
||||
nix-shell .circleci/python.nix
|
||||
--argstr pkgsVersion "$NIXPKGS"
|
||||
--run 'python setup.py update_version'
|
||||
|
||||
- "run":
|
||||
name: "Build and Test"
|
||||
|
@ -2,7 +2,8 @@
|
||||
let
|
||||
sources = import ../nix/sources.nix;
|
||||
in
|
||||
{ pkgs ? import sources."nixpkgs-21.11" { }
|
||||
{ pkgsVersion
|
||||
, pkgs ? import sources.${pkgsVersion} { }
|
||||
}:
|
||||
pkgs.mkShell {
|
||||
buildInputs = [
|
||||
|
Loading…
Reference in New Issue
Block a user