CI: build.sh: upd NIX_PATH doc

M  .travis.yml
M  build.sh
This commit is contained in:
Anton-Latukha 2020-06-23 18:53:37 +03:00
parent cf5cff3f2a
commit 51e5b65ca2
No known key found for this signature in database
GPG Key ID: 3D84C07E91802E41
2 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,6 @@ env:
###
#
# - rev=nixos-unstable
# # NOTE: Switching into Nixpkgs revision
# - NIX_PATH="nixpkgs=https://github.com/nixos/nixpkgs/archive/$rev.tar.gz"
# NOTE: Project/binary name
- name='hnix'

View File

@ -21,6 +21,7 @@ GHCVERSION=${GHCVERSION:-'ghc8101'}
# ...
# }
rev=${rev:-'nixpkgs-unstable'}
# If NIX_PATH not imported - construct it from `rev`
NIX_PATH=${NIX_PATH:-"nixpkgs=https://github.com/nixos/nixpkgs/archive/$rev.tar.gz"}
export NIX_PATH
name=${name:-'defaultProjectName'}