Skip to content
Snippets Groups Projects
Commit b7f759c1 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Perhaps this image will work better.

it uses bash, at least.
parent f66da21f
Branches
No related tags found
1 merge request!14Try out a CircleCI configuration
...@@ -17,7 +17,7 @@ version: 2.1 ...@@ -17,7 +17,7 @@ version: 2.1
jobs: jobs:
test: test:
docker: docker:
- image: "nixos/nix:2.2.1" - image: "nixorg/nix:circleci"
environment: environment:
NIXPKGS_REV: "3c83ad6ac13b67101cc3e2e07781963a010c1624" NIXPKGS_REV: "3c83ad6ac13b67101cc3e2e07781963a010c1624"
...@@ -28,28 +28,12 @@ jobs: ...@@ -28,28 +28,12 @@ jobs:
command: | command: |
echo "export NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs/archive/$NIXPKGS_REV.tar.gz >> $BASH_ENV" echo "export NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs/archive/$NIXPKGS_REV.tar.gz >> $BASH_ENV"
- run:
name: "Install CA Certificates"
command: |
# Required for cache and artifact interactions. Though we use a
# nix image, it's actually an alpine base... The CircleCI cache
# management and artifact uploader don't know how to use the nix
# ca bundle we could install.
apk update
apk add ca-certificates
- restore_cache: - restore_cache:
name: "Restore Nix Store Paths" name: "Restore Nix Store Paths"
keys: keys:
- paymentserver-nix-store-v1-{{ .Environment.NIXPKGS_REV }} - paymentserver-nix-store-v1-{{ .Environment.NIXPKGS_REV }}
- paymentserver-nix-store-v1- - paymentserver-nix-store-v1-
- run:
name: "Install Git"
command: |
# Required for the checkout step.
nix-env -i git openssh
- "checkout" - "checkout"
- restore_cache: - restore_cache:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment