forked from M-Labs/thermostat
default.nix: replace $BIN with ${firmwareBinary}
This commit is contained in:
parent
cbfe3a177b
commit
4a334465da
@ -37,8 +37,7 @@ stdenv.mkDerivation {
|
||||
in ''
|
||||
mkdir -p $out/bin $out/lib $out/nix-support
|
||||
|
||||
BIN=$out/lib/adc2tcp
|
||||
ln -s ${adc2tcp}/lib/adc2tcp $BIN
|
||||
ln -s ${adc2tcp}/lib/adc2tcp ${firmwareBinary}
|
||||
|
||||
makeWrapper ${openocd}/bin/openocd-nucleo-f429zi $out/bin/flash-adc2tcp \
|
||||
--add-flags "${lib.escapeShellArgs openOcdFlags}"
|
||||
|
Loading…
Reference in New Issue
Block a user