update flake deps, fix gh release interpreter

This commit is contained in:
Clément DOUIN
2023-12-31 11:05:08 +01:00
parent fa2c6c44bc
commit 131acd6230
4 changed files with 31 additions and 27 deletions
+4
View File
@@ -53,6 +53,10 @@ jobs:
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build release
run: nix build .#${{ matrix.target }}
- name: Fix interpreter path on Linux
if: ${{ matrix.target == 'linux' }}
run: |
nix-shell -p patchelf --command "patchelf --set-interpreter /lib64/ld-linux-x86-64.so.2 target/release/himalaya"
- name: Compress executable
run: |
mkdir -p {man,completions}