Fix daily Hackage update (#177)
Hackage hasn't been updated for a week because of a build error.
commit097852792d052ed7fcda7b479ef125ffb038e4f8
authorRodney Lorrimar <rodney.lorrimar@iohk.io>
dateSat 15 Jun 2019, 15:16 (7 years ago)
parente15f235
README.org+1
@@ -3,6 +3,7 @@
33* Alternative Haskell Infrastructure for Nixpkgs
44
55[[https://buildkite.com/input-output-hk/haskell-dot-nix][https://badge.buildkite.com/d453edcd29bd2f8f3f3b32c9b7d6777a33773d9671c37a6ccc.svg?branch=master]]
6+[[https://buildkite.com/input-output-hk/haskell-dot-nix-nightly-updates][https://img.shields.io/buildkite/c8d5a20d3ff0f440f82adb9190b43c16c91e5e47e8adfa867a/master.svg?label=nightly%20updates]]
67
78=haskell.nix= is an experimental new builder for Haskell packages.
89
scripts/update-hackage.nix+2−1
@@ -1,6 +1,7 @@
11{ stdenv, writeScript, coreutils, glibc, git, openssh, nix-tools, cabal-install, nix-prefetch-git, update-index-state-hashes }@args:
22
3−import ./update-external.nix args {
3+import ./update-external.nix
4+(removeAttrs args ["update-index-state-hashes"]) {
45 name = "hackage";
56 script = ''
67 # Clone or update the Hackage Nix expressions repo.
test/tests.sh+4
@@ -75,4 +75,8 @@ nix-shell $NIX_BUILD_ARGS \
7575 --run 'hoogle ConduitT | grep Data.Conduit'
7676echo >& 2
7777
78+printf "*** Checking the maintainer scripts...\n" >& 2
79+nix build $NIX_BUILD_ARGS --no-link --keep-going -f ../build.nix maintainer-scripts
80+echo >& 2
81+
7882printf "\n*** Finished successfully\n" >& 2