tini: fix cross-compilation

(cherry picked from commit 6176cf75c6e9767fd078aa5bac9970b9e9d3d669)
This commit is contained in:
Nick Spinale 2019-01-25 10:46:16 +00:00 committed by betaboon
parent bdac777bec
commit 00422d6a8b

View File

@ -15,7 +15,8 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = "-DPR_SET_CHILD_SUBREAPER=36 -DPR_GET_CHILD_SUBREAPER=37";
buildInputs = [ cmake glibc glibc.static ];
nativeBuildInputs = [ cmake ];
buildInputs = [ glibc glibc.static ];
meta = with stdenv.lib; {
description = "A tiny but valid init for containers";