~aasg/haunted-blog

e9a1deb689053eb4a0192c7373588ee25c7383d9 — Aluísio Augusto Silva Gonçalves 1 year, 1 month ago 4806aed
channels: Update for zstd support in libarchive

Keep an eye on github:NixOS/nixpkgs#79987 for the proper attribute name
for SRI hashes.
2 files changed, 8 insertions(+), 9 deletions(-)

M .build.yml
M channels.nix
M .build.yml => .build.yml +2 -3
@@ 18,8 18,7 @@ tasks:
      nix-build haunted-blog
  - package: |
      result=$(realpath result)
      # TODO: switch to zstd (needs NixOS/nixpkgs#85957)
      bsdtar -caf ~/site.tar.xz --format=rpax --strip-components=3 "$result"
      bsdtar -caf ~/site.tar.zst --format=rpax --strip-components=3 "$result"
  - publish: |
      set -o pipefail
      shopt -s lastpipe


@@ 33,7 32,7 @@ tasks:

      echo "Published to https://$cid.ipfs.dweb.link"
artifacts:
  - site.tar.xz
  - site.tar.zst
  - cid
triggers:
  - action: webhook

M channels.nix => channels.nix +6 -6
@@ 1,17 1,17 @@
let
  bumpDate = "2020-06-13";
  bumpDate = "2020-06-19";
  repos = {
    nixpkgs = rec {
      pname = "nixos-unstable";
      pname = "nixpkgs-unstable";
      url = "https://github.com/NixOS/nixpkgs/archive/${rev}.tar.gz";
      rev = "029a5de08390bb03c3f44230b064fd1850c6658a";
      sha256 = "03fjkzhrs2avcvdabgm7a65rnyjaqbqdnv4q86qyjkkwg64g5m8x";
      rev = "1357624fa9edff4add4c535c0606eb673f29966f";
      sha256 = "sha256-FajXbwlvYLhvUQTT4JQUAl5kovL7+wOnAuW+xPuB/10=";
    };
    aasg = rec {
      pname = "aasg-nixexprs";
      url = "https://git.sr.ht/~aasg/nixexprs/archive/${rev}.tar.gz";
      rev = "2f1a3b865cae62eb557aafb2012c8eee8197a848";
      sha256 = "012anhlrx98c7i4xgdf4cxkr9ch0sggwkwa3w3i335xvk8sl5ykw";
      rev = "ea6c36a7d11b4e73353b59b784280e370a697dad";
      sha256 = "sha256-A1sZ13fYb6KguEtK9EaDEli9xAAC9zHOEDCBAXqNsYU=";
    };
  };
in