attr: only supported on Linux

attr makes direct syscalls, so I don't think it's going to work on any
other platforms any time soon outside of a Linux translation layer.
This commit is contained in:
Alyssa Ross 2021-06-10 20:19:15 +00:00
parent cc0ea67d93
commit b94e1977e0

View file

@ -31,15 +31,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
homepage = "https://savannah.nongnu.org/projects/attr/";
description = "Library and tools for manipulating extended attributes";
platforms = platforms.unix;
platforms = platforms.linux;
license = licenses.gpl2Plus;
# The build failure on Darwin will likely be solved after upgrading the
# macOS SDK in nixpkgs. Check the current SDK version in
# ../../../../os-specific/darwin/apple-sdk/default.nix to see if it has
# been updated to 10.13 or later. Once the requirements are met, building
# it should be straightforward as Homebrew was able to build it without
# patching.
broken = stdenv.isDarwin;
};
}