on master help sign in
wget nix-cabal
commit4f47eff541fb5d65faf82eaf5f47a07f85bc813a authorVladislav Zavialov <vlad.z.4096@gmail.com> dateTue 13 Nov 2018, 15:54 (8 years ago) parentc16ac65
3 files changed+6−14
.travis.yml+4−1 nix-cabal−12 shell.nix+2−1
.travis.yml+4−1
@@ -5,8 +5,11 @@ env:
55 - HC=ghc844
66 - HC=ghc861
77
8−script:
8+before_install:
9+ - curl https://raw.githubusercontent.com/int-index/nix-cabal/master/nix-cabal -o nix-cabal && chmod u+x nix-cabal
910 - travis_retry ./nix-cabal new-update
11+
12+script:
1013 - ./nix-cabal new-test ether:regression
1114 - ./nix-cabal new-bench ether:bench
1215
nix-cabaldeleted−12
@@ -1,12 +0,0 @@
1−#!/usr/bin/env bash
2−
3−set -e
4−
5−if [ -z "$HC" ]; then
6− ARG_HC=""
7−else
8− ARG_HC="--argstr hc $HC"
9−fi
10−
11−CMD="cabal $@"
12−nix-shell --pure $ARG_HC --run "$CMD"
shell.nix+2−1
@@ -13,8 +13,9 @@ pkgs.stdenv.mkDerivation rec {
1313 ];
1414 shellHook = ''
1515 export LD_LIBRARY_PATH=${pkgs.lib.makeLibraryPath buildInputs}:$LD_LIBRARY_PATH
16+ export LANG=en_US.UTF-8
1617 '';
17− LOCALE_ARCHIVES =
18+ LOCALE_ARCHIVE =
1819 if pkgs.stdenv.isLinux
1920 then "${pkgs.glibcLocales}/lib/locale/locale-archive"
2021 else "";