on iko/ghcjs-patch-master help sign in
Fix daily Hackage update (#177)
0978527Rodney Lorrimar
@@ -3,6 +3,7 @@
3* Alternative Haskell Infrastructure for Nixpkgs
3* Alternative Haskell Infrastructure for Nixpkgs
4
4
5[[https://buildkite.com/input-output-hk/haskell-dot-nix][https://badge.buildkite.com/d453edcd29bd2f8f3f3b32c9b7d6777a33773d9671c37a6ccc.svg?branch=master]]
5[[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]]
6
7
7=haskell.nix= is an experimental new builder for Haskell packages.
8=haskell.nix= is an experimental new builder for Haskell packages.
8
9
scripts/update-hackage.nix+2−1
@@ -1,6 +1,7 @@
1{ stdenv, writeScript, coreutils, glibc, git, openssh, nix-tools, cabal-install, nix-prefetch-git, update-index-state-hashes }@args:
1{ stdenv, writeScript, coreutils, glibc, git, openssh, nix-tools, cabal-install, nix-prefetch-git, update-index-state-hashes }@args:
2
2
3−import ./update-external.nix args {
3+import ./update-external.nix
4+(removeAttrs args ["update-index-state-hashes"]) {
4 name = "hackage";
5 name = "hackage";
5 script = ''
6 script = ''
6 # Clone or update the Hackage Nix expressions repo.
7 # Clone or update the Hackage Nix expressions repo.
test/tests.sh+4
@@ -75,4 +75,8 @@ nix-shell $NIX_BUILD_ARGS \
75 --run 'hoogle ConduitT | grep Data.Conduit'
75 --run 'hoogle ConduitT | grep Data.Conduit'
76echo >& 2
76echo >& 2
77
77
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+
78printf "\n*** Finished successfully\n" >& 2
82printf "\n*** Finished successfully\n" >& 2