Move env var
continuous-integration/drone/push Build is failing Details

pull/1/head
mat ess 2022-10-19 21:04:10 -04:00
parent 7b0b6e53a9
commit 861a06d951
1 changed files with 3 additions and 2 deletions

View File

@ -5,12 +5,13 @@ name: default
environment: environment:
NIX: nix --extra-experimental-features 'nix-command flakes ca-derivations' NIX: nix --extra-experimental-features 'nix-command flakes ca-derivations'
CACHE_NAME: mat CACHE_NAME: mat
CACHIX_AUTH_TOKEN:
from_secret: cachix_auth_token
steps: steps:
- name: set up cachix - name: set up cachix
image: nixos/nix image: nixos/nix
environment:
CACHIX_AUTH_TOKEN:
from_secret: cachix_auth_token
commands: commands:
- $NIX profile install nixpkgs#cachix - $NIX profile install nixpkgs#cachix
- cachix use $CACHE_NAME - cachix use $CACHE_NAME