build.sh: rm `pkgName` (not used), return `name` - used by Cachix

M  build.sh
This commit is contained in:
Anton-Latukha 2020-06-17 19:44:50 +03:00
parent 23008422c0
commit 5120235ba3
No known key found for this signature in database
GPG Key ID: 3D84C07E91802E41
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ GHCVERSION=${GHCVERSION:-'ghc8101'}
rev=${rev:-'nixpkgs-unstable'}
NIX_PATH=${NIX_PATH:-"nixpkgs=https://github.com/nixos/nixpkgs/archive/$rev.tar.gz"}
export NIX_PATH
pkgName=${pkgName:-'defaultPkgName'}
name=${name:-'defaultProjectName'}
# This settings expose most of the Nixpkgs Haskell.lib API: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/lib.nix