Commit graph

15 commits

Author SHA1 Message Date
Domen Kožar
3988b729f9 pin Nix to 2.15.0 2023-05-01 13:27:11 +01:00
Victor Engmark
3bdded02da refactor: Use consistent emptiness check 2023-03-09 10:30:16 +13:00
Victor Engmark
ac5ee67104 refactor: Simplify appending to file
Avoids one extra command, and removes the need for `tee`.
2023-03-09 10:27:14 +13:00
Victor Engmark
ef4bcbc79c refactor: De-dupe Nix path detection 2023-03-09 10:24:48 +13:00
Victor Engmark
e322e039f3 fix: Quote variable reference
As recommended by ShellCheck.
2023-03-09 10:23:20 +13:00
Domen Kožar
29bd9290ef
Merge pull request #163 from cachix/fix-nix-2.14
Support new Nix 2.14 profile PATH
2023-03-01 13:52:04 +08:00
Domen Kožar
167742cb88 don't insist $USER needs to be set 2023-03-01 05:51:32 +00:00
Domen Kožar
3755e30bd2 Support new Nix 2.14 profile PATH 2023-03-01 05:44:36 +00:00
zimbatm
a4b8aaf5a2
Fix rate-limits by using github.token by default
Turns out there is a default github token we can use to talk to github
and avoid the rate limit issues.
2023-02-05 16:55:28 +01:00
InternetUnexplorer
b95f682503 fix typo in github_access_token option
add_config only takes one argument; this was causing Nix to error with
"illegal configuration line 'access-tokens' in '/etc/nix/nix.conf'"
2023-01-07 20:10:13 -08:00
zimbatm
c04fcbc179
add github_access_token option
I'm starting to see rate limit issues with GitHub Actions more
frequently so I propose to make this option more readily available.
2022-12-29 23:28:06 +01:00
Carlos D
d0ac6617f6
Dont add daemon option if no-daemon is supplied 2022-12-16 13:43:21 +11:00
Domen Kožar
e17a164a72 fix #140: python -> python3 2022-08-05 10:35:03 +02:00
Sergey Vlasov
6c5ba55bfd install-nix.sh: Collapse log messages
The Nix installer produces a significant number of log messages, but
usually those messages are not really interesting.  Group those messages
under a header, so that GitHub will keep them collapsed by default.

(Usually log messages are collapsed under the step title anyway, but if
this action is uses inside another composite action, there is no
separate step title, therefore the whole Nix installer output is
immediately visible when the log section for the outer composite action
is expanded.  Adding the group header fixes this problem.)
2022-06-27 00:23:14 +03:00
Bernardo Meurer
112054fda7
refactor: replace with a simpler composite action 2022-04-08 13:53:49 -07:00
Renamed from lib/install-nix.sh (Browse further)