From 0debb0b193b5155433806c025a6f1946f9cab554 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 11 Jan 2023 04:35:24 +0000 Subject: [PATCH] shadow: only use tcb where available Fixes pkgsMusl.shadow. Fixes: 0e32191623d ("shadow: add tcb support") --- pkgs/os-specific/linux/shadow/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/shadow/default.nix b/pkgs/os-specific/linux/shadow/default.nix index 2d0e60716290..f0e2c281aa56 100644 --- a/pkgs/os-specific/linux/shadow/default.nix +++ b/pkgs/os-specific/linux/shadow/default.nix @@ -6,7 +6,7 @@ , libxcrypt , glibcCross ? null , pam ? null -, withTcb ? stdenv.isLinux, tcb +, withTcb ? lib.meta.availableOn stdenv.hostPlatform tcb, tcb }: let glibc =