From 09610ee5552f6670b74a9f1b304ea0752ddec931 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 12 Feb 2023 17:57:39 +0000 Subject: [PATCH] hm/client: copybara only on x86 Linux --- ops/nixos/lib/home-manager/client.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ops/nixos/lib/home-manager/client.nix b/ops/nixos/lib/home-manager/client.nix index 8aee935ee9..89be70e724 100644 --- a/ops/nixos/lib/home-manager/client.nix +++ b/ops/nixos/lib/home-manager/client.nix @@ -1,6 +1,6 @@ { depot, lib, pkgs, ... }: let - inherit (pkgs.stdenv.hostPlatform) isDarwin isLinux; + inherit (pkgs.stdenv.hostPlatform) isDarwin isLinux isx86; in { imports = [ ./common.nix ]; @@ -50,7 +50,7 @@ in graphicsmagick-imagemagick-compat vault youtube-dl - ] ++ lib.optionals isLinux [ + ] ++ lib.optionals (isLinux && isx86) [ depot.nix.pkgs.copybara ])); }