Commit 673ef495 authored by Astro's avatar Astro

default.nix: update card10-sys/firmware if firmwareSrc was passed

parent 50fcb55b
Pipeline #3985 passed with stage
in 9 minutes and 47 seconds
......@@ -29,6 +29,9 @@ let
buildInputs = [ pkgsCross.arm-embedded.stdenv.cc ];
prePatch = ''
cp ${epic-stubs}/client.c card10-sys/vendor/
'' + lib.optionalString (firmwareSrc != ./card10-sys/firmware) ''
rm -r card10-sys/firmware
cp -r ${firmwareSrc} card10-sys/firmware
'';
NIX_DEBUG=1;
LIBCLANG_PATH="${llvmPackages.libclang}/lib";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment