Tweaking action runner nix base image

This commit is contained in:
Daniel Flanagan 2024-07-24 12:34:31 -05:00
parent 1bbed3bfd6
commit 93e4d760ff

View file

@ -161,17 +161,23 @@
text = '' text = ''
accept-flake-config = true accept-flake-config = true
experimental-features = nix-command flakes experimental-features = nix-command flakes
substituters = https://nix.h.lyte.dev https://cache.nixos.org/
trusted-substituters = https://nix.h.lyte.dev https://cache.nixos.org/
trusted-public-keys = h.lyte.dev:HeVWtne31ZG8iMf+c15VY3/Mky/4ufXlfTpT8+4Xbs0= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
''; '';
}) })
]; ];
extraCommands = '' extraCommands = ''
# enable /usr/bin/env for scripts # enable /usr/bin/env for scripts
# mkdir -p usr mkdir -p usr
# ln -s ../bin usr/bin ln -s ../bin usr/bin
# create /tmp
mkdir -p tmp
# create HOME # create HOME
# mkdir -vp root mkdir -vp root
''; '';
config = { config = {
Cmd = ["/bin/bash"]; Cmd = ["/bin/bash"];