git.delta.rocks / remowt / refs/commits / eadb0bb3c19e

difftreelog

source

nix/remowt-agents-bundle.nix483 Bsourcehistory
1{2  runCommandLocal,3  agents,4}:5runCommandLocal "remowt-agents" { } ''6  mkdir -p $out7  cp ${agents.x86_64}/bin/remowt-agent  $out/remowt-agent-x86_648  cp ${agents.aarch64}/bin/remowt-agent $out/remowt-agent-aarch649  cp ${agents.armv7l}/bin/remowt-agent  $out/remowt-agent-armv7l10  chmod +w $out/remowt-agent-*1112  for arch in x86_64 aarch64 armv7l; do13    hash=$(sha256sum "$out/remowt-agent-$arch" | cut -d' ' -f1)14    printf '%s %s\n' "$arch" "$hash" >> $out/hashes15  done16''