Additional outputs to flakes #86

Merged
sb10q merged 3 commits from mwojcik/zynq-rs:flake_extra_outputs into master 2022-02-04 18:42:36 +08:00
1 changed files with 3 additions and 4 deletions
Showing only changes of commit f8a9e50123 - Show all commits

View File

@ -257,13 +257,12 @@
in in
commands + "ln -s ${szlResult}/szl.elf $out/szl-${target}.elf\n" commands + "ln -s ${szlResult}/szl.elf $out/szl-${target}.elf\n"
) "mkdir $out\n" targets); ) "mkdir $out\n" targets);
·
Review

Is rec necessary?

Is ``rec`` necessary?
Review

for hydraJobs = packages.x86_64-linux;

for ``hydraJobs = packages.x86_64-linux;``
allOutputs = { in rec {
packages.x86_64-linux = {
inherit cargo-xbuild szl mkbootimage rustPlatform; inherit cargo-xbuild szl mkbootimage rustPlatform;
zc706-fsbl = fsbl { board = "zc706"; }; zc706-fsbl = fsbl { board = "zc706"; };
} // allTargetCrates ; } // allTargetCrates ;
in rec {
packages.x86_64-linux = allOutputs;
hydraJobs = packages.x86_64-linux; hydraJobs = packages.x86_64-linux;