about summary refs log tree commit diff stats
path: root/modules/by-name/bo/boot/iso_entry/signing_key.nix
blob: 788447be3d9960555f593596268c0ad940fc797d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{pkgs ? (builtins.getFlake "nixpkgs").legacyPackages."x86_64-linux"}:
pkgs.stdenv.mkDerivation {
  name = "archlinux_signing_keys";

  outputHash = "sha256-evGWzkxMaZw3rlixKsyWCS/ZvNuZ+OfXQb6sgiHz9XY=";
  outputHashAlgo = "sha256";
  NIX_SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";

  nativeBuildInputs = with pkgs; [
    sequoia-sq
  ];

  dontUnpack = true;

  buildPhase = ''
    sq --verbose --no-cert-store --no-key-store network wkd fetch pierre@archlinux.org --output "$out"
  '';
}