Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
54 lines
840 B
Nix
54 lines
840 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
pkg-config,
|
|
which,
|
|
buildPackages,
|
|
|
|
# apparmor deps
|
|
libapparmor,
|
|
|
|
# testing
|
|
perl,
|
|
}:
|
|
stdenv.mkDerivation {
|
|
pname = "apparmor-bin-utils";
|
|
inherit (libapparmor)
|
|
version
|
|
src
|
|
;
|
|
|
|
sourceRoot = "${libapparmor.src.name}/binutils";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
libapparmor
|
|
which
|
|
];
|
|
|
|
buildInputs = [
|
|
libapparmor
|
|
];
|
|
|
|
makeFlags = [
|
|
"LANGS="
|
|
"USE_SYSTEM=1"
|
|
"POD2MAN=${lib.getExe' buildPackages.perl "pod2man"}"
|
|
"POD2HTML=${lib.getExe' buildPackages.perl "pod2html"}"
|
|
"MANDIR=share/man"
|
|
];
|
|
|
|
doCheck = true;
|
|
checkInputs = [ perl ];
|
|
|
|
installFlags = [
|
|
"DESTDIR=$(out)"
|
|
"BINDIR=$(out)/bin"
|
|
"SBINDIR=$(out)/bin"
|
|
];
|
|
|
|
meta = libapparmor.meta // {
|
|
description = "Mandatory access control system - binary user-land utilities";
|
|
};
|
|
}
|