mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-11 17:36:07 +08:00
refactor: decouple runner pkgs
This commit is contained in:
parent
19c7d3734a
commit
729867c326
2 changed files with 16 additions and 13 deletions
14
clusters/github-runner/runner-pkgs.nix
Normal file
14
clusters/github-runner/runner-pkgs.nix
Normal 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
|
||||
'')
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue