Add patching phase to make binary run on non-nixos

This commit is contained in:
xenia 2024-02-03 15:35:19 +01:00
parent bff644b664
commit 96e1bf0808

View File

@ -21,8 +21,11 @@ jobs:
- name: Build
run: nix build -L .#fox32asm
- name: Patch
run: nix run nixpkgs#patchelf -- result/bin/fox32asm --set-interpreter /lib64/ld-linux-x86-64.so.2 --output fox32asm
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: fox32asm
path: result/bin/fox32asm
path: fox32asm