Allow unfree packages when building droidctl

This commit is contained in:
Hannes 2025-05-09 11:10:17 +08:00 committed by Tobias Happ
parent 7c84363a35
commit af711651ca

View file

@ -24,7 +24,7 @@ jobs:
- name: Build droidctl - name: Build droidctl
id: droidctl-build id: droidctl-build
run: | run: |
nix build 'github:t184256/droidctl' --out-link /tmp/droidctl NIXPKGS_ALLOW_UNFREE=1 nix build --impure 'github:t184256/droidctl' --out-link /tmp/droidctl
echo "path=$(realpath /tmp/droidctl)" >> "$GITHUB_OUTPUT" echo "path=$(realpath /tmp/droidctl)" >> "$GITHUB_OUTPUT"
@ -154,7 +154,7 @@ jobs:
- name: Build droidctl (anew, fallback) - name: Build droidctl (anew, fallback)
if: always() && (steps.droidctl-fetch.outcome == 'failure') if: always() && (steps.droidctl-fetch.outcome == 'failure')
run: nix build 'github:t184256/droidctl' --out-link /tmp/droidctl run: NIXPKGS_ALLOW_UNFREE=1 nix build --impure 'github:t184256/droidctl' --out-link /tmp/droidctl
- name: Restore AVD cache - name: Restore AVD cache
id: avd-cache id: avd-cache