Additional outputs to flakes #86
|
@ -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);
|
||||||
|
·
|
||||||
|
|||||||
allOutputs = {
|
in rec {
|
||||||
|
packages.x86_64-linux = {
|
||||||
inherit cargo-xbuild szl mkbootimage rustPlatform;
|
inherit cargo-xbuild szl mkbootimage rustPlatform;
|
||||||
sb10q
commented
Doesn't this break Only derivations should be in Doesn't this break ``nix flake show`` / ``nix flake check``?
Only derivations should be in ``packages.xxx``, and I think ``rustPlatform`` isn't one.
|
|||||||
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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Is
rec
necessary?for
hydraJobs = packages.x86_64-linux;