Skip to content

Commit c4fcfce

Browse files
committed
Fix greping for nix-index output
It was changed to `grep -v '+ generating full/small index:'` in 8abb006, but this grep was mean to ignore the `+ generating index: ...` output of nix-index
1 parent 5024e19 commit c4fcfce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/update.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@ jobs:
101101
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
102102
- name: generate full nix-index database
103103
run: |
104-
nix shell --inputs-from .# nixpkgs#nix-index -c nix-index --db ./${{ matrix.system }}-index --system ${{matrix.system}} 2>&1 | grep -v '+ generating full index:'
104+
nix shell --inputs-from .# nixpkgs#nix-index -c nix-index --db ./${{ matrix.system }}-index --system ${{matrix.system}} 2>&1 | grep -v '+ generating index:'
105105
mv ./${{ matrix.system }}-index/files ./index-${{ matrix.system }}
106106
- name: generate small nix-index database
107107
run: |
108-
nix shell --inputs-from .# nixpkgs#nix-index -c nix-index --db ./${{ matrix.system }}-index-small --system ${{matrix.system}} --filter-prefix '/bin/' 2>&1 | grep -v '+ generating small index:'
108+
nix shell --inputs-from .# nixpkgs#nix-index -c nix-index --db ./${{ matrix.system }}-index-small --system ${{matrix.system}} --filter-prefix '/bin/' 2>&1 | grep -v '+ generating index:'
109109
mv ./${{ matrix.system }}-index-small/files ./index-${{ matrix.system }}-small
110110
- name: hash index
111111
id: hashes

0 commit comments

Comments
 (0)