git.iko.soy/typeable/rollbar-hs
on master help sign in
Pass the argument to `nix-shell`

`NIX_SHELL_FLAGS` is a make thing. But, we want to pass it to `nix-shell`, not make.

commit107ccff876f493f932bb6ede8c014bccadc0ff78 authorjoneshf <jones3.hardy@gmail.com> dateSun 26 Aug 2018, 12:01 (8 years ago) parentdd28cc8
1 file changed+1−2
.circleci/config.yml+1−2
.circleci/config.yml+1−2
@@ -10,10 +10,9 @@ build-steps: &build-steps
1010 name: Restoring cache
1111 - run:
1212 name: Compile
13− command: nix-shell --run 'make sdist test --jobs=2'
13+ command: nix-shell --argstr compiler "${COMPILER}" --run 'make sdist test --jobs=2'
1414 environment:
1515 CABAL_BUILD_FLAGS: --jobs=2
16− NIX_SHELL_FLAGS: --arg complier "$COMPILER"
1716 - save_cache:
1817 key: v2-nix-{{ checksum "package.yaml" }}
1918 name: Caching nix