From 96e1bf08086ebf3eb3a9ee0fb9283534668ba4df Mon Sep 17 00:00:00 2001 From: xenia Date: Sat, 3 Feb 2024 15:35:19 +0100 Subject: [PATCH] Add patching phase to make binary run on non-nixos --- .github/workflows/fox32asm-unstable-linux.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/fox32asm-unstable-linux.yml b/.github/workflows/fox32asm-unstable-linux.yml index 13b5f9a..559914a 100644 --- a/.github/workflows/fox32asm-unstable-linux.yml +++ b/.github/workflows/fox32asm-unstable-linux.yml @@ -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