mirror of
https://github.com/cachix/install-nix-action.git
synced 2025-06-08 01:54:27 +00:00
add failing test
This commit is contained in:
parent
dad23f2092
commit
d953a4ee09
3 changed files with 25 additions and 3 deletions
|
@ -5,8 +5,9 @@ set -euo pipefail
|
|||
sudo sh -c 'echo max-jobs = auto >> /tmp/nix.conf'
|
||||
# Allow binary caches for runner user
|
||||
sudo sh -c 'echo trusted-users = root runner >> /tmp/nix.conf'
|
||||
# Append extra nix configuration if provided
|
||||
if [[ -n $INPUT_EXTRA_NIX_CONFIG ]]; then
|
||||
echo "$INPUT_EXTRA_NIX_CONFIG" >> /tmp/nix.conf
|
||||
echo "$INPUT_EXTRA_NIX_CONFIG" | sudo tee -a /tmp/nix.conf >/dev/null
|
||||
fi
|
||||
|
||||
install_options=(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue