CI: rm buildStackProject, it does not work that way, and better to use real stack

M  .travis.yml
M  build.sh
This commit is contained in:
Anton-Latukha 2020-06-17 19:41:25 +03:00
parent c580b4e837
commit 222489baf3
No known key found for this signature in database
GPG Key ID: 3D84C07E91802E41
2 changed files with 0 additions and 5 deletions

View File

@ -66,7 +66,6 @@ env:
- buildStrictly=false
# NOTE: Disable core optimizations, significantly speeds up the build
- disableOptimization=true
- buildStackProject=false
# NOTE: Modify a Haskell package to add shell completion scripts for the given executable produced by it. These completion scripts will be picked up automatically if the resulting derivation is installed, e.g. by `nix-env -i`.
# Invocation:
# generateOptparseApplicativeCompletions command pkg

View File

@ -10,7 +10,6 @@ GHCVERSION=${GHCVERSION:-'ghc883'}
rev=${rev:-'nixpkgs-unstable'}
NIX_PATH=${NIX_PATH:-"nixpkgs=https://github.com/nixos/nixpkgs/archive/$rev.tar.gz"}
export NIX_PATH
name=${name:-'defaultBinaryName'}
pkgName=${pkgName:-'defaultPkgName'}
failOnAllWarnings=${failOnAllWarnings:-'false'}
checkUnusedPackages=${checkUnusedPackages:-'false'}
@ -24,7 +23,6 @@ enableLibraryProfiling=${enableLibraryProfiling:-'false'}
buildFromSdist=${buildFromSdist:-'false'}
buildStrictly=${buildStrictly:-'false'}
disableOptimization=${disableOptimization:-'true'}
buildStackProject=${buildStackProject:-'false'}
# NOTE: *Oprparse* key is redifined in the code further
generateOptparseApplicativeCompletions=${generateOptparseApplicativeCompletions:-'false'}
allowInconsistentDependencies=${allowInconsistentDependencies:-'false'}
@ -98,7 +96,6 @@ if [ "$GHCVERSION" = "ghcjs" ]
--arg buildFromSdist "$buildFromSdist" \
--arg buildStrictly "$buildStrictly" \
--arg disableOptimization "$disableOptimization" \
--arg buildStackProject "$buildStackProject" \
--arg allowInconsistentDependencies "$allowInconsistentDependencies" \
--arg generateOptparseApplicativeCompletions "$generateOptparseApplicativeCompletions" \
--arg executableNamesToShellComplete "$executableNamesToShellComplete" \
@ -124,7 +121,6 @@ if [ "$GHCVERSION" = "ghcjs" ]
--arg buildFromSdist "$buildFromSdist" \
--arg buildStrictly "$buildStrictly" \
--arg disableOptimization "$disableOptimization" \
--arg buildStackProject "$buildStackProject" \
--arg allowInconsistentDependencies "$allowInconsistentDependencies" \
--arg generateOptparseApplicativeCompletions "$generateOptparseApplicativeCompletions" \
--arg executableNamesToShellComplete "$executableNamesToShellComplete"