zimbatm
2e278dead1
fix shellcheck warnings
...
It's unlikely that those env vars will contain whitespaces, but it's
good to keep the script clean.
2020-12-22 20:11:31 +01:00
zimbatm
334bb6100b
idempotent installation
...
Don't run the installer if Nix has already been installed on the host.
We assume that the installed Nix is already in the desired state.
This allows to share a given pipeline between hosted and self-hosted
runners. Usually the self-hosted runners are long-lived and already have
Nix installed.
2020-11-02 12:35:41 +01:00
Markus Wamser
8a37740405
replace deprecated functions
...
this should fix #50
2020-10-12 23:04:59 +02:00
Domen Kožar
4977bdad66
Update lib/install-nix.sh
...
Co-authored-by: zimbatm <zimbatm@zimbatm.com>
2020-09-21 14:30:19 +02:00
Domen Kožar
775aed5fcb
Support self-hosted runners and always skip adding a channel
2020-09-21 14:16:30 +02:00
zimbatm
967d234ad8
-n => != ""
2020-08-25 18:56:36 +02:00
zimbatm
07dda1e608
more cleanup
2020-08-25 18:26:01 +02:00
zimbatm
d953a4ee09
add failing test
2020-08-25 18:17:09 +02:00
zimbatm
dad23f2092
add extra_nix_config options
...
This also cleans the install-nix.sh script a bit
2020-08-25 18:08:00 +02:00
Connor Prussin
80dbe69d87
Add retries when fetching nix install script
2020-07-08 15:13:47 -07:00
Domen Kožar
63cf434de4
remove unused file
2020-06-02 15:57:08 +02:00
Tobias Happ
a744770f4b
Add nix_path action paramter
2020-05-28 16:28:14 +02:00
Domen Kožar
f68249e909
Nix 2.3.5
2020-05-27 16:39:05 +02:00
Domen Kožar
10a7d51bce
allow skipping channel installation
2020-05-27 13:22:53 +02:00
Domen Kožar
642cfa0200
Prepare for Nix 2.3.5
2020-05-26 18:08:30 +02:00
Domen Kožar
afb82faed7
Allow overriding installation URL
2020-05-14 13:21:40 +02:00
Domen Kožar
ebed63b0a2
Allow installation path to redirect
2020-03-11 19:29:13 +01:00
Domen Kožar
ef735e86b9
Revert "Enable sandbox on darwin"
2020-02-26 17:17:21 +01:00
Domen Kožar
6e3de2b50b
Enable sandbox on darwin
2020-02-26 14:53:51 +01:00
Domen Kožar
dba72516a1
rewrite to bash
2020-02-26 14:23:08 +01:00
Domen Kožar
a5f8eada85
macos: disable spotlight
2020-02-26 11:21:33 +01:00
Domen Kožar
033d472283
darwin: reliably wait for daemon connection
2020-02-24 13:20:47 +01:00
Domen Kožar
39c9ce7c86
macos: fix two issues
2020-02-24 10:09:32 +01:00
Domen Kožar
c9b9c77f3b
wait for nix-daemon socket
2019-11-19 14:08:06 +01:00
Domen Kožar
16107722cd
re-setup nix.conf after installation
2019-11-19 12:48:58 +01:00
Domen Kožar
9420096b1d
allow binary caches for runner user
2019-11-19 12:48:58 +01:00
Domen Kožar
15adaed2d7
expose nix executables also for runner user
2019-11-19 12:48:58 +01:00
Domen Kožar
b8c38b583f
Turn on daemon (multi-user) mode
2019-11-19 11:22:13 +01:00
Domen Kožar
9130accbad
try out catalina fix
2019-11-13 16:47:37 +01:00
Domen Kožar
4ad20b153f
Fix Catalina
2019-11-07 10:18:56 +01:00
Domen Kožar
ba979b5e7d
fix #5 : set max-jobs = auto
2019-10-03 17:23:24 +02:00
Domen Kožar
7f8f39bf55
build
2019-10-02 16:34:58 +02:00
Robert Hensing
fc1e077596
Update README.md, add lib/README.md
2019-10-02 15:36:51 +02:00
Domen Kožar
90e4945c77
Initial commit
2019-10-02 11:52:32 +02:00