hm/client: copybara only on x86 Linux

This commit is contained in:
Luke Granger-Brown 2023-02-12 17:57:39 +00:00
parent 916240fe30
commit 09610ee555

View file

@ -1,6 +1,6 @@
{ depot, lib, pkgs, ... }: { depot, lib, pkgs, ... }:
let let
inherit (pkgs.stdenv.hostPlatform) isDarwin isLinux; inherit (pkgs.stdenv.hostPlatform) isDarwin isLinux isx86;
in in
{ {
imports = [ ./common.nix ]; imports = [ ./common.nix ];
@ -50,7 +50,7 @@ in
graphicsmagick-imagemagick-compat graphicsmagick-imagemagick-compat
vault vault
youtube-dl youtube-dl
] ++ lib.optionals isLinux [ ] ++ lib.optionals (isLinux && isx86) [
depot.nix.pkgs.copybara depot.nix.pkgs.copybara
])); ]));
} }