mirror of
https://code.tvl.fyi/depot.git:/tools/nixery.git
synced 2025-03-15 14:11:51 +00:00
fix(build): Force nix-env to use NIX_PATH
Thanks to clever!
This commit is contained in:
parent
cbe79aac27
commit
5d64be1969
11
.travis.yml
11
.travis.yml
|
@ -4,12 +4,11 @@ services:
|
||||||
env:
|
env:
|
||||||
- NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/88d9f776091896cfe57dc6fbdf246e7d27d5f105.tar.gz
|
- NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/88d9f776091896cfe57dc6fbdf246e7d27d5f105.tar.gz
|
||||||
before_script:
|
before_script:
|
||||||
- |
|
- mkdir test-files
|
||||||
mkdir test-files
|
- echo ${GOOGLE_KEY} | base64 -d > test-files/key.json
|
||||||
echo ${GOOGLE_KEY} | base64 -d > test-files/key.json
|
- echo ${GCS_SIGNING_PEM} | base64 -d > test-files/gcs.pem
|
||||||
echo ${GCS_SIGNING_PEM} | base64 -d > test-files/gcs.pem
|
- nix-env -f '<nixpkgs>' -iA cachix -A go
|
||||||
nix-env -iA nixpkgs.cachix -A nixpkgs.go
|
- cachix use nixery
|
||||||
cachix use nixery
|
|
||||||
script:
|
script:
|
||||||
- test -z $(gofmt -l server/ build-image/)
|
- test -z $(gofmt -l server/ build-image/)
|
||||||
- nix-build | cachix push nixery
|
- nix-build | cachix push nixery
|
||||||
|
|
Loading…
Reference in New Issue
Block a user