forked from M-Labs/zynq-rs
Additional outputs to flakes (#86)
Co-authored-by: mwojcik <mw@m-labs.hk> Co-committed-by: mwojcik <mw@m-labs.hk>
This commit is contained in:
parent
2e7cfe04c8
commit
e5e646f40e
10
flake.nix
10
flake.nix
|
@ -257,16 +257,16 @@
|
||||||
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);
|
||||||
|
in rec {
|
||||||
allOutputs = {
|
packages.x86_64-linux = {
|
||||||
inherit cargo-xbuild szl;
|
inherit cargo-xbuild szl mkbootimage;
|
||||||
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;
|
||||||
|
|
||||||
|
inherit rustPlatform;
|
||||||
|
|
||||||
devShell.x86_64-linux = pkgs.mkShell {
|
devShell.x86_64-linux = pkgs.mkShell {
|
||||||
name = "zynq-rs-dev-shell";
|
name = "zynq-rs-dev-shell";
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
|
|
Loading…
Reference in New Issue