refactor: decouple runner pkgs

This commit is contained in:
Sridhar Ratnakumar 2024-03-27 10:05:42 -04:00
parent 19c7d3734a
commit 729867c326
2 changed files with 16 additions and 13 deletions

View file

@ -0,0 +1,14 @@
{ pkgs, lib, ... }:
# Tools already available in standard GitHub Runners; so we provide
# them here:
with pkgs; [
coreutils
which
jq
# https://github.com/actions/upload-pages-artifact/blob/56afc609e74202658d3ffba0e8f6dda462b719fa/action.yml#L40
(runCommandNoCC "gtar" { } ''
mkdir -p $out/bin
ln -s ${lib.getExe gnutar} $out/bin/gtar
'')
]