1f4310695d845013329c1721d5b3741ed286c01a — Wolf 11 months ago 590bc86
Fix remote build on nix os

Nixpkgs switched to release tarballs. That is great, but it means that
autoreconf is not available for the build. And we need it for the build
from the source. So let's patch it back in.
1 files changed, 10 insertions(+), 0 deletions(-)

M .builds/nix.yml
M .builds/nix.yml => .builds/nix.yml +10 -0
@@ 11,6 11,16 @@ tasks:
      git remote add origin https://github.com/NixOS/nixpkgs-channels
      git fetch origin nixos-unstable --depth=1
      git checkout nixos-unstable

      # Nix pkg uses release tarball. That is good thing, but it means
      # autoreconf is not available. But we need it for build from the git.
      sed <"$pkg_file" >"$tmp_file" \
        -e 's~, fetchurl~, autoreconfHook, bison~' \
        -e '/src = fetchurl {/,/};/d' \
        -e 's~nativeBuildInputs = \[~nativeBuildInputs = [ autoreconfHook bison~'
      mv "$tmp_file" "$pkg_file"
  - autoreconf: |
      cd acme-client-portable
      nix-shell --pure --attr acme-client ~/nixpkgs/default.nix --run \