podman: add libapparmor, libselinux

This commit is contained in:
zowoq 2020-05-13 21:37:47 +10:00
parent 399f5ea75e
commit e142fbb3f7

View File

@ -6,7 +6,9 @@
, gpgme
, lvm2
, btrfs-progs
, libapparmor
, libseccomp
, libselinux
, systemd
, go-md2man
, nixosTests
@ -29,7 +31,15 @@ buildGoModule rec {
nativeBuildInputs = [ pkg-config go-md2man installShellFiles ];
buildInputs = stdenv.lib.optionals stdenv.isLinux [ btrfs-progs libseccomp gpgme lvm2 systemd ];
buildInputs = stdenv.lib.optionals stdenv.isLinux [
btrfs-progs
gpgme
libapparmor
libseccomp
libselinux
lvm2
systemd
];
buildPhase = ''
patchShebangs .