Merge pull request #170770 from delroth/seccomp-tests

libseccomp: re-enable checkPhase
This commit is contained in:
Sandro
2022-04-28 22:30:25 +02:00
committed by GitHub
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, getopt, util-linux, gperf, nix-update-script }:
{ lib, stdenv, fetchurl, getopt, util-linuxMinimal, which, gperf, nix-update-script }:
stdenv.mkDerivation rec {
pname = "libseccomp";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
patchShebangs .
'';
checkInputs = [ util-linux ];
doCheck = false; # dependency cycle
checkInputs = [ util-linuxMinimal which ];
doCheck = true;
# Hack to ensure that patchelf --shrink-rpath get rids of a $TMPDIR reference.
preFixup = "rm -rfv src";