Additional outputs to flakes #86
10
flake.nix
10
flake.nix
|
@ -257,16 +257,16 @@
|
|||
in
|
||||
commands + "ln -s ${szlResult}/szl.elf $out/szl-${target}.elf\n"
|
||||
) "mkdir $out\n" targets);
|
||||
|
||||
allOutputs = {
|
||||
inherit cargo-xbuild szl;
|
||||
in rec {
|
||||
|
||||
packages.x86_64-linux = {
|
||||
inherit cargo-xbuild szl mkbootimage;
|
||||
zc706-fsbl = fsbl { board = "zc706"; };
|
||||
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.
|
||||
} // allTargetCrates ;
|
||||
in rec {
|
||||
packages.x86_64-linux = allOutputs;
|
||||
|
||||
hydraJobs = packages.x86_64-linux;
|
||||
|
||||
inherit rustPlatform;
|
||||
|
||||
devShell.x86_64-linux = pkgs.mkShell {
|
||||
name = "zynq-rs-dev-shell";
|
||||
buildInputs = with pkgs; [
|
||||
|
|
Loading…
Reference in New Issue
Is
rec
necessary?for
hydraJobs = packages.x86_64-linux;