cri-o: fix *Flags

This commit is contained in:
Robin Gloster
2019-10-28 10:17:49 +01:00
committed by Jan Tojnar
parent 21280e418d
commit 4db0860814

View File

@@ -15,7 +15,10 @@
, pkgconfig
}:
buildGoPackage rec {
let
makeFlags = "BUILDTAGS=\"apparmor seccomp selinux
containers_image_ostree_stub\"";
in buildGoPackage rec {
project = "cri-o";
version = "1.16.1";
name = "${project}-${version}${flavor}";
@@ -35,9 +38,6 @@ buildGoPackage rec {
libseccomp libselinux lvm2 ]
++ stdenv.lib.optionals (glibc != null) [ glibc glibc.static ];
makeFlags = ''BUILDTAGS="apparmor seccomp selinux
containers_image_ostree_stub"'';
buildPhase = ''
pushd go/src/${goPackagePath}