We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 662ce56 commit f789634Copy full SHA for f789634
nix/default.nix
@@ -37,6 +37,13 @@ let
37
name = "cri-o-static";
38
buildInputs = old.buildInputs ++ (with pkgs; [ systemd ]);
39
src = ./..;
40
+ buildPhase = ''
41
+ pushd go/src/github.com/cri-o/cri-o
42
+ make BUILDTAGS="apparmor seccomp selinux containers_image_ostree_stub netgo" \
43
+ bin/crio \
44
+ bin/crio-status \
45
+ bin/pinns
46
+ '';
47
EXTRA_LDFLAGS = ''-linkmode external -extldflags "-static -lm"'';
48
dontStrip = true;
49
# DEBUG = 1; # Uncomment this line to enable debug symbols in the binary
0 commit comments