Commit graph

43 commits

Author SHA1 Message Date
Domen Kožar
7bea2cc0c1
Simplify how paths are pushed
Previously we were setting up Nix build hook to make sure all paths are
synced to cachix.

This had a few flaws:

- nix-daemon had to be restarted, resulting into a few seconds extra
  setup per each build
- spurious error on macos due to nix-daemon socket not ready in time
- significant overhead since syncing to cachix was synchronous for each
  derivation built

Now we just look for new store paths and push those after nix-build.
2020-02-27 16:51:03 +01:00
Domen Kožar
89036a5745
README: make steps headings 2020-02-27 16:46:25 +01:00
Tobias Happ
a03feca499
Add nixBuildArgs parameter 2020-02-27 16:46:25 +01:00
Domen Kožar
a7cff0bb28
README: bump 2020-02-27 16:46:24 +01:00
Domen Kožar
76bd1745d3
Allow Nix to be installed in single-user mode
(cherry picked from commit 476599180e7c5d616cb06a852a564bd56298e468)
Signed-off-by: Domen Kožar <domen@dev.si>
2020-02-27 16:46:24 +01:00
Domen Kožar
a174b4716e
fix pushing of paths 2020-02-27 16:46:24 +01:00
Domen Kožar
9f2618ea36
run skipNixBuild scenario on CI 2020-02-27 16:46:24 +01:00
Domen Kožar
4f0d7f12ae
Update README.md
Co-Authored-By: Robert Hensing <roberth@users.noreply.github.com>
2019-12-19 18:01:20 +01:00
Domen Kožar
cdc802d712
README: wording on why 2019-12-19 17:54:19 +01:00
Domen Kožar
f5d3d34d0c
Update README.md
Co-Authored-By: Robert Hensing <roberth@users.noreply.github.com>
2019-12-19 17:52:36 +01:00
Domen Kožar
074294984a
Allow skipping nix-build 2019-12-19 17:23:34 +01:00
Domen Kožar
7fd13f5091
use cachix official installation url 2019-12-17 19:28:50 +01:00
Domen Kožar
b4608ff1aa
README: explain why this action is needed and elaborate on setup 2019-12-17 19:27:23 +01:00
Domen Kožar
fdfd300632
bump 2019-11-20 15:41:46 +01:00
Domen Kožar
d86d78194d
bump 2019-11-20 15:39:38 +01:00
Domen Kožar
a633961ccc
README: clarify cache name 2019-10-03 17:46:56 +02:00
Domen Kožar
01433080c8
bump 2019-10-03 17:41:53 +02:00
Domen Kožar
affb020ba4
README: hint to action options 2019-10-03 17:27:37 +02:00
Domen Kožar
9e7ef4fd59
Merge pull request #5 from cachix/no-signing-key
Support running as a PR
2019-10-03 16:47:27 +02:00
Domen Kožar
49264ff2e8
Update src/main.ts
Co-Authored-By: Robert Hensing <roberth@users.noreply.github.com>
2019-10-03 16:42:28 +02:00
Domen Kožar
6f6bb926ee
README: parenthesis 2019-10-03 16:39:05 +02:00
Domen Kožar
03453271be
README: explain what to do if secrets are missing 2019-10-03 16:38:32 +02:00
Domen Kožar
f80d6f9d98
Support pull requests 2019-10-03 16:32:37 +02:00
Domen Kožar
7fe7f51850
Merge pull request #4 from cachix/list-of-drvs
fix for #3
2019-10-03 15:52:29 +02:00
Domen Kožar
e1972a3e88
fix for #3 2019-10-03 15:43:16 +02:00
Domen Kožar
5e116bc9ac
push -> name 2019-10-03 13:48:28 +02:00
Domen Kožar
34a3c66a7e
saneSplit -> nonEmptySplit 2019-10-03 13:26:42 +02:00
Domen Kožar
cea7883cb2
utils -> strings 2019-10-03 13:21:06 +02:00
Domen Kožar
5a70a5cca3
README: bump install-nix-action 2019-10-03 13:12:00 +02:00
Domen Kožar
801e010644
README: typo 2019-10-03 12:57:05 +02:00
Domen Kožar
610d03cf60
fix badge 2019-10-03 12:56:53 +02:00
Domen Kožar
627095837c
Merge pull request #2 from cachix/private-caches
Private caches
2019-10-03 12:53:19 +02:00
Domen Kožar
453bd5c328
Support private caches 2019-10-03 12:40:29 +02:00
Domen Kožar
70e7e680d7
use cachix 0.3.4 2019-10-03 12:40:09 +02:00
Domen Kožar
eea1c8cee8
use cachix 0.3.4 2019-10-03 10:35:39 +02:00
Domen Kožar
b8c0ed4fd3
Merge pull request #1 from cachix/test-install-nix-action-v2
test v2
2019-10-02 17:47:33 +02:00
Domen Kožar
0f96e790bf
test v2 2019-10-02 17:38:42 +02:00
Domen Kožar
0d877d4d59
Split Nix installation into separate action 2019-10-02 16:25:24 +02:00
Domen Kožar
b14833e3eb
Bump cachix to development to solve a bug 2019-10-01 14:30:41 +02:00
Domen Kožar
252ae9fce0
set NIX_PATH 2019-10-01 12:15:48 +02:00
Domen Kožar
c97af141f3
use sane version of split 2019-10-01 12:10:07 +02:00
Domen Kožar
4db446a512
Install Nix via the action 2019-10-01 11:54:05 +02:00
Domen Kožar
a6de7cd0c2
Initial commit 2019-09-30 15:32:36 +02:00