File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 13
13
runs-on : ubuntu-latest
14
14
steps :
15
15
16
+ # https://github.com/cachix/install-nix-action/issues/56
17
+ - run : |
18
+ sudo mkdir -p /nix/store
19
+ sudo chmod -R 777 /nix
20
+
21
+ - name : Cache nix env take N+1
22
+
23
+ with :
24
+ path : |
25
+ # See https://github.com/actions/cache/pull/726
26
+ /nix/store/**
27
+ # Missing something?
28
+ # /nix/var/nix/*/*
29
+ # /nix/var/nix/db/*
30
+ # /nix/var/nix/db/*/**
31
+ # !/nix/var/nix/daemon-socket/socket
32
+ # !/nix/var/nix/userpool/*
33
+ # !/nix/var/nix/gc.lock
34
+ # !/nix/var/nix/db/big-lock
35
+ # !/nix/var/nix/db/reserved
36
+ key : ${{ runner.os }}-nix-store-${{ hashFiles('**') }}
37
+ restore-keys : ${{ runner.os }}-nix-store-
38
+
16
39
- uses : cachix/install-nix-action@v16
17
40
with :
18
41
nix_path : nixpkgs=channel:nixos-21.11
You can’t perform that action at this time.
0 commit comments