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
Showing only changes of commit fe5d5694f4 - Show all commits

View File

@ -259,7 +259,7 @@
) "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 = {
inherit cargo-xbuild szl;
inherit cargo-xbuild szl mkbootimage rustPlatform;
zc706-fsbl = fsbl { board = "zc706"; };
Outdated
Review

Doesn't this break nix flake show / nix flake check?

Only derivations should be in packages.xxx, and I think rustPlatform isn't one.

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 {
@ -267,6 +267,8 @@
hydraJobs = packages.x86_64-linux;
inherit rustPlatform;
devShell.x86_64-linux = pkgs.mkShell {
name = "zynq-rs-dev-shell";
buildInputs = with pkgs; [