Merge pull request #87739 from zowoq/inputs-tags

podman, etc packages: fix/update inputs/tags
This commit is contained in:
Mario Rodas 2020-05-14 20:33:37 -05:00 committed by GitHub
commit 26ac020560
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 32 additions and 13 deletions

View file

@ -6,8 +6,6 @@
, gpgme
, installShellFiles
, libapparmor
, libassuan
, libgpgerror
, libseccomp
, libselinux
, lvm2
@ -32,15 +30,15 @@ buildGoModule rec {
btrfs-progs
gpgme
libapparmor
libassuan
libgpgerror
libseccomp
libselinux
lvm2
] ++ stdenv.lib.optionals (glibc != null) [ glibc glibc.static ];
BUILDTAGS = "apparmor seccomp selinux containers_image_ostree_stub";
BUILDTAGS = "apparmor seccomp selinux containers_image_openpgp containers_image_ostree_stub";
buildPhase = ''
patchShebangs .
sed -i '/version.buildDate/d' Makefile
make binaries docs BUILDTAGS="$BUILDTAGS"

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 .

View file

@ -8,6 +8,7 @@
, libapparmor
, apparmor-parser
, libseccomp
, libselinux
}:
buildGoPackage rec {
@ -25,9 +26,11 @@ buildGoPackage rec {
outputs = [ "out" "man" ];
nativeBuildInputs = [ go-md2man installShellFiles pkg-config which ];
buildInputs = [ libseccomp libapparmor apparmor-parser ];
makeFlags = [ "BUILDTAGS+=seccomp" "BUILDTAGS+=apparmor" ];
buildInputs = [ libselinux libseccomp libapparmor apparmor-parser ];
# these will be the default in the next release
makeFlags = [ "BUILDTAGS+=seccomp" "BUILDTAGS+=apparmor" "BUILDTAGS+=selinux" ];
buildPhase = ''
cd go/src/${goPackagePath}

View file

@ -4,9 +4,9 @@
, installShellFiles
, pkg-config
, gpgme
, libgpgerror
, lvm2
, btrfs-progs
, libapparmor
, libselinux
, libseccomp
}:
@ -27,9 +27,18 @@ buildGoModule rec {
vendorSha256 = null;
nativeBuildInputs = [ installShellFiles pkg-config ];
buildInputs = [ gpgme libgpgerror lvm2 btrfs-progs libselinux libseccomp ];
buildInputs = [
btrfs-progs
gpgme
libapparmor
libseccomp
libselinux
lvm2
];
buildPhase = ''
patchShebangs .
make GIT_COMMIT="unknown"
make -C docs
'';

View file

@ -3,11 +3,9 @@
, fetchFromGitHub
, runCommand
, gpgme
, libgpgerror
, lvm2
, btrfs-progs
, pkg-config
, libselinux
, go-md2man
, installShellFiles
, makeWrapper
@ -41,8 +39,9 @@ buildGoModule {
excludedPackages = [ "integration" ];
nativeBuildInputs = [ pkg-config go-md2man installShellFiles makeWrapper ];
buildInputs = [ gpgme ]
++ stdenv.lib.optionals stdenv.isLinux [ libgpgerror lvm2 btrfs-progs libselinux ];
++ stdenv.lib.optionals stdenv.isLinux [ lvm2 btrfs-progs ];
buildFlagsArray = ''
-ldflags=