libseccomp: re-enable checkPhase

This commit is contained in:
Pierre Bourdon 2022-04-28 13:58:16 +02:00
parent 1248ea16e1
commit 910f84bf9e
No known key found for this signature in database
GPG key ID: 6FB80DCD84DA0F1C

View file

@ -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";