From 59bdec72c93638f5b2b1bad24f20a32f11da093c Mon Sep 17 00:00:00 2001 From: Asmir A Date: Sun, 28 Jan 2024 16:49:41 +0100 Subject: [PATCH] packages: x86_64-linux -> ${system} --- common/packages.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/packages.nix b/common/packages.nix index e40363a..59b969c 100644 --- a/common/packages.nix +++ b/common/packages.nix @@ -2,6 +2,7 @@ config, pkgs, nix-xilinx, + system, ... }: { environment.systemPackages = with pkgs; @@ -74,5 +75,5 @@ zip z-lua ] - ++ (with nix-xilinx.packages.x86_64-linux; [vivado vitis vitis_hls model_composer xilinx-shell]); + ++ (with nix-xilinx.packages.${system}; [vivado vitis vitis_hls model_composer xilinx-shell]); }