1
0
Fork 0

default.nix: fix szl filenames

This commit is contained in:
Sebastien Bourdeauducq 2020-05-01 10:48:23 +08:00
parent a2ea0fbc9f
commit dffbab2707
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ in
installPhase = '' installPhase = ''
mkdir -p $out $out/nix-support mkdir -p $out $out/nix-support
cp target/armv7-none-eabihf/release/szl $out/$szl.elf cp target/armv7-none-eabihf/release/szl $out/szl.elf
echo file binary-dist $out/szl.elf >> $out/nix-support/hydra-build-products echo file binary-dist $out/szl.elf >> $out/nix-support/hydra-build-products
''; '';
@ -56,7 +56,7 @@ in
zc706-jtag = pkgs.runCommand "zc706-jtag" {} zc706-jtag = pkgs.runCommand "zc706-jtag" {}
'' ''
mkdir $out mkdir $out
ln -s ${zc706-szl}/szl $out ln -s ${zc706-szl}/szl.elf $out
ln -s ${zc706-gateware}/top.bit $out ln -s ${zc706-gateware}/top.bit $out
''; '';
} }