Commit graph

32 commits

Author SHA1 Message Date
Domen Kožar
1e14eb01bf
Merge pull request #206 from kashw2/nix-update
nix: 2.20.5 -> 2.21.2
2024-05-15 12:57:56 +02:00
Domen Kožar
6060e02b1f
2.22.1 2024-05-15 11:34:15 +01:00
Sander
859c1e74ef
Enable always-allow-substitutes by default
A typical CI machine will have fast internet access, but may not have
all the inputs already in the store to rebuild trivial derivations
marked with `allowSubstitutes = false`. This leads to expensive cycles
of downloads and rebuilds for derivations like the top-level NixOS
system, which will be rebuilt from scratch on every CI run, despite
being cached.
2024-05-14 21:19:49 +00:00
kashw2
46095f4692 nix: 2.20.5 -> 2.21.2 2024-05-12 16:51:46 +10:00
Domen Kožar
8887e596b4 Nix: 2.20.5 2024-03-08 04:06:58 +00:00
Domen Kožar
6004951b18 Nix: 2.19.1 -> 2.19.2 2024-01-12 11:02:55 +00:00
Domen Kožar
7ac1ec2549
Nix 2.19.1 2023-11-28 15:48:58 +01:00
Domen Kožar
dc33a216cb
Merge pull request #200 from cachix/fix/196
fix: don't use the default GitHub token for Enterprise
2023-11-28 13:27:50 +01:00
Sander
fe19c91c6b
feat: enable KVM on Linux if available 2023-11-22 17:27:22 +00:00
Jameel Al-Aziz
81eb746179
Update install-nix.sh
Co-authored-by: Domen Kožar <domen@enlambda.com>
2023-11-03 12:58:15 -07:00
Sander
97a1be3c09
fix: don't use the default GitHub token for Enterprise
The token on Enterprise instances is not valid for github.com.

Resolves #196.
2023-11-03 13:21:46 +00:00
Jameel Al-Aziz
2cce1fd76b
fix: Set TMPDIR to avoid disk space issues
Set `TMPDIR` if not already set to workaround potential disk space
issues while running builds in a nix shell. See NixOS/nix#395 for
more info.

fixes #197
2023-11-02 18:38:07 -07:00
Graham Christensen
4509d84f10
Update to Nix 2.17.0 2023-09-03 15:45:45 -04:00
Domen Kožar
fffc90f426 always show trace 2023-07-06 11:03:24 +01:00
Domen Kožar
e27879448e Nix: 2.15.1 -> 2.16.1 2023-06-16 19:57:30 +01:00
Domen Kožar
8ab3881720 use system certs 2023-06-16 19:57:30 +01:00
Domen Kožar
4b933aa7eb Nix: 2.15.1 2023-05-24 13:31:13 +01:00
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)