tadfisher/android-nixpkgs

Build failure of build-tools-28-0-3

BatteredBunny opened this issue · 2 comments

Getting a build failure for build-tools-28-0-3
Removing lld from the postUnpack's for loop seems to fix it.

❯ nix log /nix/store/2jbfagq3qndwqkprgdglyrc757i5h1l5-build-tools-28-0-3-28.0.3.drv
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/2jbfagq3qndwqkprgdglyrc757i5h1l5-build-tools-28-0-3-28.0.3.drv^*'
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/2fj05lybgc3i98z20ks4w6qhnz9v1z53-build-tools_r28.0.3-linux.zip
source root is /nix/store/03bm5vzkkl0m7cvd0hkka8fx42yk3b3r-build-tools-28-0-3-28.0.3
substituteStream(): WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file '/nix/store/03bm5vzkkl0m7cvd0hkka8fx42yk3b3r-build-tools-28-0-3-28.0.3/apksigner')
substitute(): ERROR: file '/nix/store/03bm5vzkkl0m7cvd0hkka8fx42yk3b3r-build-tools-28-0-3-28.0.3/lld' does not exist
/nix/store/3qnm3nwjajgqa771dmi2dnwxrw0kzq5m-stdenv-linux/setup: line 131: pop_var_context: head of shell_variables not a function context

how did you get this to work?

for f in apksigner d8 lld; do

Remove lld from here