diff options
author | Kranium Gikos Mendoza <kranium@gikos.net> | 2016-08-13 14:23:20 +0800 |
---|---|---|
committer | Kranium Gikos Mendoza <kranium@gikos.net> | 2016-08-13 14:23:20 +0800 |
commit | 9a0dfe23d88131cbd0547cd40c7d295da54d78e1 (patch) | |
tree | 4a9ae326e5d6294ada89f0878e05f1ff6c4ed8a1 /pkgs/applications | |
parent | 52a875fb2329c55070e86e3f85f1d788df10c2c5 (diff) |
tini: fix build
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/virtualization/tini/default.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/applications/virtualization/tini/default.nix b/pkgs/applications/virtualization/tini/default.nix index fe016da6e58a0..535ca551785fa 100644 --- a/pkgs/applications/virtualization/tini/default.nix +++ b/pkgs/applications/virtualization/tini/default.nix @@ -7,14 +7,12 @@ stdenv.mkDerivation rec { url = "https://github.com/krallin/tini/archive/v0.8.3.tar.gz"; sha256 ="1w7rj4crrcyv25idmh4asbp2sxzwyihy5mbpw384bzxjzaxn9xpa"; }; + patchPhase = "sed -i /tini-static/d CMakeLists.txt"; NIX_CFLAGS_COMPILE = [ "-DPR_SET_CHILD_SUBREAPER=36" "-DPR_GET_CHILD_SUBREAPER=37" ]; buildInputs = [ cmake ]; - postInstall = '' - rm $out/bin/tini-static - ''; meta = with stdenv.lib; { description = "A tiny but valid init for containers"; homepage = https://github.com/krallin/tini; |