From caa96fda2c256e30d8dc27d9dd2bfc9d3f6f0ecf Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sun, 4 Aug 2024 11:38:25 +0200 Subject: [PATCH] coreutils: disable acl and attr when unavailable Fixes building for microblaze. --- pkgs/tools/misc/coreutils/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/coreutils/default.nix b/pkgs/tools/misc/coreutils/default.nix index 0e11363b8210..d9fbd4459f04 100644 --- a/pkgs/tools/misc/coreutils/default.nix +++ b/pkgs/tools/misc/coreutils/default.nix @@ -10,8 +10,8 @@ , binlore , coreutils , gmpSupport ? true, gmp -, aclSupport ? stdenv.isLinux, acl -, attrSupport ? stdenv.isLinux, attr +, aclSupport ? lib.meta.availableOn stdenv.hostPlatform acl, acl +, attrSupport ? lib.meta.availableOn stdenv.hostPlatform attr, attr , selinuxSupport ? false, libselinux, libsepol # No openssl in default version, so openssl-induced rebuilds aren't too big. # It makes *sum functions significantly faster.