Merge pull request #44835 from Infinisil/fix/syscall_limiter

syscall_limiter: fix build
This commit is contained in:
Silvan Mosberger 2018-08-09 22:01:08 +02:00 committed by GitHub
commit d64073c770
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@
stdenv.mkDerivation rec {
name = "syscall_limiter-${version}";
version = "20170123";
version = "2017-01-23";
src = fetchFromGitHub {
owner = "vi";
@ -16,11 +16,7 @@ stdenv.mkDerivation rec {
sha256 = "0z5arj1kq1xczgrbw1b8m9kicbv3vs9bd32wvgfr4r6ndingsp5m";
};
configurePhase = "";
buildPhase = ''
make CC="gcc -I${libseccomp}/include -L${libseccomp}/lib"
'';
buildInputs = [ libseccomp ];
installPhase = ''
mkdir -p $out/bin