From d0e47dba2a689c8eaf912a9ecc98ea86018bf11c Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Sat, 20 Jan 2024 17:49:12 -0800 Subject: [PATCH] system-path.nix: omit pkgs.netcat if it will fail to build openbsd-netcat (aka pkgs.netcat) is part of libressl, which does not build on powerpc64le-linux. Therefore, we must omit it from the default system path. We should consider using gnu-netcat instead, since libressl is teetering on the edge of being unmaintained. --- nixos/modules/config/system-path.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/config/system-path.nix b/nixos/modules/config/system-path.nix index 71274ea8999fd..9d9e52210541d 100644 --- a/nixos/modules/config/system-path.nix +++ b/nixos/modules/config/system-path.nix @@ -30,7 +30,9 @@ let pkgs.less pkgs.libcap pkgs.ncurses + ] ++ lib.optionals (lib.meta.availableOn pkgs.stdenv.hostPlatform pkgs.netcat) [ pkgs.netcat + ] ++ [ config.programs.ssh.package pkgs.mkpasswd pkgs.procps