libseccomp: make tests run, but dependency cycle

This commit is contained in:
Jan Malakhovski 2018-08-10 00:27:39 +00:00
parent cec9b2635b
commit 0b67d69c13

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, getopt, makeWrapper }:
{ stdenv, fetchurl, getopt, makeWrapper, utillinux }:
stdenv.mkDerivation rec {
name = "libseccomp-${version}";
@ -17,6 +17,9 @@ stdenv.mkDerivation rec {
patchShebangs .
'';
checkInputs = [ utillinux ];
doCheck = false; # dependency cycle
# Hack to ensure that patchelf --shrink-rpath get rids of a $TMPDIR reference.
preFixup = "rm -rfv src";