From f52c155006a4357d70bbdc787234092104f50dfe Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 2 Jun 2023 18:36:05 +0800 Subject: [PATCH] flake: fix and cleanup builds --- flake.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index 8d89d7c..dec7cb9 100644 --- a/flake.nix +++ b/flake.nix @@ -129,8 +129,7 @@ nativeBuildInputs = [ pkgs.gnumake - (pkgs.python3.withPackages(ps: (with artiqpkgs; [ ps.jsonschema migen migen-axi misoc artiq ]))) - artiqpkgs.artiq + (pkgs.python3.withPackages(ps: [ ps.jsonschema artiqpkgs.migen migen-axi artiqpkgs.misoc artiqpkgs.artiq ])) zynqpkgs.cargo-xbuild pkgs.llvmPackages_9.llvm pkgs.llvmPackages_9.clang-unwrapped @@ -156,8 +155,7 @@ gateware = pkgs.runCommand "${target}-${variant}-gateware" { nativeBuildInputs = [ - (pkgs.python3.withPackages(ps: (with artiqpkgs; [ ps.jsonschema migen migen-axi misoc artiq ]))) - artiqpkgs.artiq + (pkgs.python3.withPackages(ps: [ ps.jsonschema artiqpkgs.migen migen-axi artiqpkgs.misoc artiqpkgs.artiq ])) artiqpkgs.vivado ]; } @@ -241,8 +239,7 @@ name = "gateware-sim"; nativeBuildInputs = [ - (pkgs.python3.withPackages(ps: (with artiqpkgs; [ migen migen-axi artiq ]))) - artiqpkgs.artiq + (pkgs.python3.withPackages(ps: [ artiqpkgs.migen migen-axi artiqpkgs.artiq ])) ]; phases = [ "buildPhase" ];