From e5e646f40eae3c04898266310a64c09b8c03dfbc Mon Sep 17 00:00:00 2001 From: mwojcik Date: Fri, 4 Feb 2022 18:42:35 +0800 Subject: [PATCH] Additional outputs to flakes (#86) Co-authored-by: mwojcik Co-committed-by: mwojcik --- flake.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index 671ea97..a2935bb 100644 --- a/flake.nix +++ b/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"; }; } // 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; [