bfs: add missing attr dependency

This is currently propagated from libcap, but libcap doesn't depend on
attr, so this propagation will be removed.
This commit is contained in:
Alyssa Ross 2024-09-05 19:07:35 +02:00
parent 6c321f0183
commit db8baf8cc2

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, libcap, acl, oniguruma, liburing }:
{ lib, stdenv, fetchFromGitHub, attr, acl, libcap, liburing, oniguruma }:
stdenv.mkDerivation rec {
pname = "bfs";
@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
hash = "sha256-/thPPueNrYzbxxZYAqlxZ2GEsceCzd+LkI84S8AS1mo=";
};
buildInputs = [ oniguruma ] ++ lib.optionals stdenv.isLinux [ libcap acl liburing ];
buildInputs = [ oniguruma ] ++
lib.optionals stdenv.isLinux [ acl attr libcap liburing ];
makeFlags = [ "PREFIX=$(out)" ];
buildFlags = [ "release" ]; # "release" enables compiler optimizations